Answers for "execute if player has 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 "execute if player has item in inventory"

Browse Popular Code Answers by Language