-
-
Notifications
You must be signed in to change notification settings - Fork 5
Examples
Jack edited this page Aug 2, 2024
·
6 revisions
Names of items below are based off their translation key, shown when pressing F3 + H and hovering over an item in game.
| Pattern | Description |
|---|---|
| oak_log | Only items named oak_log will be able to pass |
| ^oak | Only items starting with oak will be able to pass |
| $log | Only items ending with log will be able to pass |
| *wood | Any items with wood in its name will be able to pass |
| =awkward_potion | Any item named "awkward_potion", "awkward potion", "awkward potion" will be able to pass, checks for renames |
| *wood,stone | Any item with wood in its name or an item named just stone will be able to pass |
| #villager_plantable_seeds | Any item with the tag #villager_plantable_seeds will be able to pass |
| #animals_spawnable_on&*a | Any block with the tag #animals_spawnable_on AND that has the letter a in its name will be able to pass |
| *oak&!*wood | Any item with oak in its name and that does NOT also have wood in its name will be able to pass |
| splash_potion&~strength_2 | Any splash potion with strength 2 will be able to pass |
| enchanted_book&+mending | Any item that is both an enchanted book and that has mending will be able to pass |
| +mending&+protection_4&+unbreaking_3 | Only items with the mending, protection 4 and unbreaking 3 enchantments will be able to pass |
| netherite_pickaxe&+efficiency_5&+unbreaking_3&+mending&+fortune_3|+silk_touch | God pickaxes with fortune 3 OR silk touch will be able to pass |