This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I am trying to test for a specifically named item in the closest players inventory
I have used this: execute at @a[nbt={Inventory:[{id:"minecraft:arrow",tag:{display:{Name:"Bow2"}]}] run say hi
Anyone know why it would not work?
Does the command run just not properly? If so, try doing @p as your target selector
I am trying to test for a specifically named item in the closest players inventory
I have used this: execute at @a[nbt={Inventory:[{id:"minecraft:arrow",tag:{display:{Name:"Bow2"}]}] run say hi
Anyone know why it would not work?
Does the command run just not properly?
If so, try doing @p as your target selector