Skip to content
Jack edited this page Aug 2, 2024 · 5 revisions
Character Meaning
No character A pattern prefixed with no character is simply an exact match of the item's name, for example stone means only stone can enter
, Splits your conditions
* A pattern prefixed with this means the item name must contain the following string
^ A pattern prefixed with this means the item name must start with the following string
$ A pattern prefixed with this means the item name must end with the following string
# A pattern prefixed with this indicates the item must have the specified tag
~ A pattern prefixed with this indicates the item must have the specified potion effect
+ A pattern prefixed with this indicates the item must have the specified enchantment
= A pattern prefixed with this means the item must be named the subsequent string, including renames

Boolean Operators

Character Meaning
& An & placed between patterns means all the patterns must be true
| A | placed between patterns means any of the patterns must be true
! A pattern prefixed with ! means only the opposite of that pattern can pass
Clone this wiki locally