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]

have you ever broken up with a character? have you ever broken up with a character?

Posted On: December 18, 2025
I don't mean got broken up with, I don't mean you were asked out and said no, I mean you said yes and later on broke up with them in a playthrough.Bonus points if it was for a story reason lol.Questio...[More]


When did you realize you could set camp in the tavern ? When did you realize you could set camp in the tavern ?

Posted On: January 7, 2025
Yesterday. After 230h of playtime.Question from user lauracrdr at BaldursGate3 at reddit.com.Answer:Yea I only figured it out on my second run. And that notice is a lie in Tactician and Honor mode. Th...[More]


Is it possible to hit a mine on first click? Is it possible to hit a mine on first click?

Posted On: September 14, 2019
Is it possible for some unlucky guy to hit a mine when they click the first square randomly?Question from user nalzok at gaming.stackexchange.com.Answer:It is impossible to click a mine on the first c...[More]


BG3 is very fun, but exhausting to play. BG3 is very fun, but exhausting to play.

Posted On: November 11, 2023
OK, so I'm a bit late to the BG3 hype, but decided to give it a try and I'm really enjoying the game. My issue is: this game has insane amount of choices that aren't very clear and I en...[More]


How do I find the missing Gold Skulltulas? How do I find the missing Gold Skulltulas?

Posted On: August 5, 2023
I've almost completely finished Ocarina of Time now, and I'd like to get 100% completion just for the fun of it. The big problem is the Gold Skulltulas. I've heard there's some sort...[More]


Is there an easier Whistle Sprint Alternative to execute in Tears Of The Kingdom? Is there an easier Whistle Sprint Alternative to execute in Tears Of The Kingdom?

Posted On: July 25, 2023
Whistle Sprinting is a glitch in Breath of the Wild where you hold the whistle button and tap the B button to continuously sprint without draining stamina. In Tears of the Kingdom, this glitch has ...[More]


is there a Clothing shop in Baldur's gate? is there a Clothing shop in Baldur's gate?

Posted On: October 28, 2023
Im looking for some cool camp clothing. . Im lying, im looking for underwear. I just got to Act 3, Rivington to be exact. Can someone point me to the right direction please? Asking for myself. Or a...[More]


Does it make a difference to CP if you feed candies before or after evolving? Does it make a difference to CP if you feed candies before or after evolving?

Posted On: November 10, 2019
When activating the evolution for a caught Pokemon, it seems to amplify the Combat Power (CP). Thus it seems most beneficial to evolve your Pokemon with the highest CP, if you have multiple of the sam...[More]


BG3 Mod Path to Menzoberranzan demo aims for Nautiloid size BG3 Mod Path to Menzoberranzan demo aims for Nautiloid size

Posted On: March 23, 2026
Question from user Wargulf at BaldursGate3 at reddit.com.Answer:This looks so cool .Answer from user Snoo-28829 at BaldursGate3 at reddit.com....[More]


Is there any reason to collect more money after repaying the companys debt? Is there any reason to collect more money after repaying the companys debt?

Posted On: April 16, 2024
In Pikmin 2, after you repay the company's debt of 10,000 Pokos, you are tasked with collecting the rest of the uncollected treasures. However, I noticed you can still earn money outside of treasures ...[More]