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]

Where in Skellige is this shipwreck located? Where in Skellige is this shipwreck located?

Posted On: October 5, 2023
I wanted to find a shipwreck in Witcher 3's Skellige for purposes of a Witcher Tabletop RPG campaign I'm playing, and I found these images of one:. While these images are nice, what they do...[More]


The only thing that can revive this game is DLC The only thing that can revive this game is DLC

Posted On: September 2, 2023
There is literally no point in playing after you finish the house cup, I understand that they will probably wait to add DLC until the game is out on switch but it’s been almost 7 months since th...[More]


Why will she not take Panteas Flute? Why will she not take Panteas Flute?

Posted On: January 17, 2023
I found Pantea's Flute before the quest was given to me. Now she will not accept it from me, and it says I still need to go find it. What do I do now? Is this a glitch? I have the game on PC if th...[More]


What's your BG3 take: Hot or Cold What's your BG3 take: Hot or Cold

Posted On: November 20, 2025
Here's mine: This concept art is significantly better then the Soul Vestment we got.Question from user DC_Lark at BaldursGate3 at reddit.com.Answer:Dame Aylin is cool, but I like the original Nightson...[More]


What constitutes a save in Overwatch 2? What constitutes a save in Overwatch 2?

Posted On: March 8, 2023
Overwatch 2 now tracks a stat called "players saved", with a notification when you save someone (or when you get saved by someone else). However, with some exceptions, it's not entirely ...[More]


Is mephiles the dark shadows long lost brother? Is mephiles the dark shadows long lost brother?

Posted On: January 22, 2023
Mephiles the dark’s regular form looks like shadow.Question from user JOEL SANTIAGO at gaming.stackexchange.com.Answer:I saw a video last time and it showed me mephiles the dark looks like shad...[More]


What do the numbers next to the achievements mean in Overwatch? What do the numbers next to the achievements mean in Overwatch?

Posted On: May 18, 2023
Next to each achievement in Overwatch there's a little number in a circle, what does that mean? Question from user Wrigglenite at gaming.stackexchange.com. Answer: The number signifies th...[More]


so…uh… how many do - don’t use the parasite powers? so…uh… how many do - don’t use the parasite powers?

Posted On: January 30, 2025
i saw a post the other day talking about the things you do/dont don’t do in a run and a lot of people were like (on their first run mind you) “i would never use weird powers that some random perso...[More]


How do I find out the mythology and history of my Fortress? How do I find out the mythology and history of my Fortress?

Posted On: April 28, 2024
I've created a nice fortress with taverns, beds, dining room, etc, but how do I access some of the mythology of the world they are in?I have no idea of the context and the history of my world, but I'm...[More]


Dungeons and Dragons Online, Good for Groups? Dungeons and Dragons Online, Good for Groups?

Posted On: June 11, 2023
I see that Dungeons and Dragons Online is now free to play. How is that game structured?. Do you create parties and travel?. Or is it more free world-ish?. I ask because I am looking for g...[More]