Built-In States
Attention
Quick Reference:
Type |
Args |
|---|---|
type, level |
|
type, level |
|
level, amount |
|
type |
|
None |
|
None |
|
None |
|
min, max |
|
None |
|
thunder |
|
name |
|
node |
|
skill |
|
key, varval, higherthan |
|
key, nbtval |
|
key, nbtval |
|
key, nbtval |
Note
Looking for External Plugin States?
Descriptions
Each state description includes everything you need to configure each individual state.
effect
Argument |
Type |
Notes |
|---|---|---|
type |
String |
Must be a valid effect |
level |
Integer |
— |
effect{type=LUCK;level=1}enchant
Argument |
Type |
Notes |
|---|---|---|
type |
String |
Must be a valid enchantment |
level |
Integer |
— |
enchant{type=efficiency;level=2}enchant{type=example:myenchant}exp
Argument |
Type |
Notes |
|---|---|---|
amount |
Double |
— |
level |
Boolean |
If true, checks the players level instead |
exp{amount=5;level=true}helditem
Argument |
Type |
Notes |
|---|---|---|
type |
String |
Must be a valid material |
helditem{type=stick}air
This state has no args.
air{}water
This state has no args.
water{}sneaking
This state has no args.
sneaking{}time
Argument |
Type |
Notes |
|---|---|---|
min |
String or Integer |
See below |
max |
String or Integer |
See below |
Note
day, noon, sunset, night, midnight or sunrise.time{min=sunrise;max=sunset}unbreakable
This state has no args.
unbreakable{}rain
Argument |
Type |
Notes |
|---|---|---|
thunder |
Boolean |
Whether to check for thunderstorms or not. |
rain{thunder=true}world
Argument |
Type |
Notes |
|---|---|---|
name |
String |
— |
world{name=world_nether}permission
Argument |
Type |
Notes |
|---|---|---|
node |
String |
— |
permission{node=breaker.test.perm}breaker.test.perm permission.mmcast
Argument |
Type |
Notes |
|---|---|---|
skill |
String |
Must be a valid MythicMobs skill |
mmcast{skill=TestSkill}mmvar
Argument |
Type |
Notes |
|---|---|---|
key |
String |
Must be a valid MythicMobs variable |
varval |
Integer |
— |
higherthan |
Boolean |
Will also check if the variable is higher |
mmvar{key=test;varval=10;higherthan=true}nbtstr
Argument |
Type |
Notes |
|---|---|---|
key |
String |
The path to the NBT value |
nbtval |
String |
The string to compare to |
nbtstr{key=MMOITEMS_ITEM_ID;nbtval=TEST_SWORD}nbtbool
Argument |
Type |
Notes |
|---|---|---|
key |
String |
The path to the NBT value |
nbtval |
Boolean |
The boolean to compare to |
nbtbool{key=example_path;nbtval=true}nbtval
Argument |
Type |
Notes |
|---|---|---|
key |
String |
The path to the NBT value |
nbtval |
Integer |
The numeric to compare to |
nbtval{key=CustomModelData;nbtval=20}