mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-10 22:41:50 +01:00
commit
018a8c0a99
@ -646,8 +646,8 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can
|
|||||||
Requires `mat:` modifier. Strictly checks the name and lore for an item. (If a Stone named `Test` is in your inventory, and you're using `%checkitem_mat:stone,strict%`, it will return false)
|
Requires `mat:` modifier. Strictly checks the name and lore for an item. (If a Stone named `Test` is in your inventory, and you're using `%checkitem_mat:stone,strict%`, it will return false)
|
||||||
- `inhand`
|
- `inhand`
|
||||||
Check if the item is in the player's hand. `inhand` will check *both* hands. You can add `:main` or `:off` to specify. (Ex: `inhand:main`)
|
Check if the item is in the player's hand. `inhand` will check *both* hands. You can add `:main` or `:off` to specify. (Ex: `inhand:main`)
|
||||||
- `inslot`
|
- `inslot:<number>`
|
||||||
Check if the item is in a specific slot ([Click here for valid slots](https://proxy.spigotmc.org/d3e11b631e22f45fc07c3fcd1c7000b2245fed78?url=http%3A%2F%2Fi.imgur.com%2F3YCrfC8.png))
|
Check if the item is in a specific slot ([Click here for valid slots](https://i.imgur.com/3YCrfC8.png))
|
||||||
- `nbtstrings:<key>=<value>;<key>=<value>`
|
- `nbtstrings:<key>=<value>;<key>=<value>`
|
||||||
Checks if the item's nbtStrings contains `<key>` with the value of `<value>`. * ^ ~
|
Checks if the item's nbtStrings contains `<key>` with the value of `<value>`. * ^ ~
|
||||||
- `nbtints:<key>=<value>;<key>=<value>`
|
- `nbtints:<key>=<value>;<key>=<value>`
|
||||||
|
Loading…
Reference in New Issue
Block a user