How to execute a specific item in minecraft Ask Question Asked 4 years, 10 months ago Active 8 months ago Viewed 6k times 0 I want to make a command executing a tripwire hook when it is thrown in the ground you summon a lighting bolt but it seems you can't add NBT tags in an execute command so how to specify the item I want/execute if data entity @s SelectedItemid matches tag #minecraftfishes The above checks if the NBT tag 'SelectedItemid' of @s matches any of the id's specified in the tag '#minecraftfishes' This would greatly improve the execute if data command and would make the item tags not that useless anymore and strings in nbt could be compared better How to detect a players position with /execute CommandBlock I'm making a map in MC, and I'm trying to make it so if a player stands at a certain point (Or near a How To Use The Execute Command In Minecraft Minecraft execute command generator