This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'm trying to make a zombies map and all I need is to test for a specific item in an item frame to make a pack a punch system. If possible test the enchantments the item has as well.
I found a command that works for half of this issue but I don't know if it is possible to use it to test for enchantments.
/execute if entity @e[type=item_frame,x=281,y=161,z=428,nbt={Item:{id:"minecraft:wooden_axe"}}]
I'm trying to make a zombies map and all I need is to test for a specific item in an item frame to make a pack a punch system. If possible test the enchantments the item has as well.
I found a command that works for half of this issue but I don't know if it is possible to use it to test for enchantments.
/execute if entity @e[type=item_frame,x=281,y=161,z=428,nbt={Item:{id:"minecraft:wooden_axe"}}]