mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-11-23 11:05:48 +01:00
Update Placeholders.md
Fixed inslot for checkitem
This commit is contained in:
parent
1ab31c976f
commit
6b5b6065d2
@ -646,7 +646,7 @@ 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://i.imgur.com/3YCrfC8.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>`. * ^ ~
|
||||||
|
Loading…
Reference in New Issue
Block a user