Answers for "detect if player has certain item in inventory"

3

check if player has item in inventory

/execute as @a[nbt={Inventory:[{id:"minecraft:stone"}]}] run say hi
Posted by: Guest on July-15-2020

Code answers related to "detect if player has certain item in inventory"

Browse Popular Code Answers by Language