How to execute a specific item in minecraft

[BACK]
How to execute a specific item in minecraft
Posted On: April 26, 2024

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.


Question from user Mohannad El-Nesr at gaming.stackexchange.com.


Answer:

you cannot do it using execute only you must use scoreboard as in the following:.


/scoreboard players set @e[type=item] Lightning 1 {Item:{id:"minecraft:tripwire_hook",Damage:0s,Count:1b,tag:{display:{Name:"Lightninger",Lore:[]}}}}.


then .


/execute @e[score_Lightning_min=1] ~ ~ ~ summon Lightning_Bolt.


Answer from user Mohannad El-Nesr at gaming.stackexchange.com.


[BACK]
How to execute a specific item in minecraft
Posted On: April 26, 2024

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.


Question from user Mohannad El-Nesr at gaming.stackexchange.com.


Answer:

you cannot do it using execute only you must use scoreboard as in the following:.


/scoreboard players set @e[type=item] Lightning 1 {Item:{id:"minecraft:tripwire_hook",Damage:0s,Count:1b,tag:{display:{Name:"Lightninger",Lore:[]}}}}.


then .


/execute @e[score_Lightning_min=1] ~ ~ ~ summon Lightning_Bolt.


Answer from user Mohannad El-Nesr at gaming.stackexchange.com.


[BACK]

What does saying X mean in the faction chat in Albion Online? What does saying X mean in the faction chat in Albion Online?

Posted On: May 16, 2023
I see many people "x" in the chat, but I cannot find a clear answer to what it means. Asking in the chat also does not give me any answers. Question from user TheBird956 at gaming.stackex...[More]


Is there a way to share vision with opponent in Starcraft 2? Is there a way to share vision with opponent in Starcraft 2?

Posted On: June 25, 2023
There are times that I would like to be able to share vision with my opponents when playing Starcraft 2. This was possible in the original Starcraft, but I can't find a way in Starcraft 2. Situ...[More]


Any useful strategies for finding a Nether Fortress in Minecraft? Any useful strategies for finding a Nether Fortress in Minecraft?

Posted On: June 20, 2023
Anyone have useful strategies for finding a Nether Fortress in Minecraft's Nether? I got into the nether and wandered around for quite a while, but didn't find anything. I'm not sure if...[More]


How do I reach the elevated area in Xenoblade Chronicles 3? How do I reach the elevated area in Xenoblade Chronicles 3?

Posted On: May 13, 2023
In the Cadensia Region, there is an elevated area on the northeast coast of the Lavi Sandbar I can't figure out how to reach. The area is northeast of the Named Grave for Jealous Mizraile and sout...[More]


What are your worst dice roll experiences? What are your worst dice roll experiences?

Posted On: September 27, 2023
Last night, I was lockpicking something with 20 DC. I have +12 in bonuses and the 1d4 guidance roll. So essentially, on any roll, I have +13-17 bonus, which means the dice would have to roll a 6 or lo...[More]


How do I disable Civ 5s opening movie? How do I disable Civ 5s opening movie?

Posted On: August 23, 2015
It seems like the opening movie always starts up and won't let me cancel it until it has played for about 10 seconds. Is that because it takes the game that long to load regardless? Is there a way t...[More]


Minecraft doesnt launch with the Ultrasurf proxy? Minecraft doesnt launch with the Ultrasurf proxy?

Posted On: June 7, 2023
I often go to the library to play Minecraft. Since there are a lot of people playing there, enough people put in the wrong credentials such that the library IP is often temporarily banned from the Moj...[More]


Struggling to have an immersive Good Durge run at this point Struggling to have an immersive Good Durge run at this point

Posted On: September 20, 2025
I know what happens next. I'm thinking what possible reason my Durge has for knocking out Alfira (in this case, sending Astarion). How to roleplay this event?Question from user gamist93 at BaldursGate...[More]


Does Flash make a champion untargetable for a moment? Does Flash make a champion untargetable for a moment?

Posted On: April 18, 2024
There are some effects in the game which remove a champion's sprite from the map, rendering them untargetable for a moment, such as Elise's Rappel. Does the Summoner Spell Flash do this as well, even...[More]


How many Pokémon were available at the release of Pokémon Go? How many Pokémon were available at the release of Pokémon Go?

Posted On: January 20, 2023
I have googled for this, but can't really put the proper terms to find an answer. At the initial release of Pokémon Go, how many Pokémon were available? I seem to remember legenda...[More]