-
-
Notifications
You must be signed in to change notification settings - Fork 5
Syntax
Jack edited this page Jul 5, 2024
·
5 revisions
Character | Meaning |
---|---|
No character | A condition prefixed with no character is simply an exact match of the item's name, for example stone means only stone can enter |
, | Splits your pattern's conditions |
* | A condition prefixed with this means the item name must contain the following string |
^ | A condition prefixed with this means the item name must start with the following string |
$ | A condition prefixed with this means the item name must end with the following string |
# | A condition prefixed with this indicates the item must have the specified tag |
~ | A condition prefixed with this indicates the item must have the specified potion effect |
+ | A condition prefixed with this indicates the item must have the specified enchantment |
& | An & placed between conditions means all the conditions must be true |
! | A condition prefixed with ! means only the opposite of that condition can pass |