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]

Are there any Infinite Combos in Monster Train? Are there any Infinite Combos in Monster Train?

Posted On: June 17, 2023
In a similar game, Slay the Spire, I know of quite a few infinite combos, however with significantly less "draw" cards in Monster Train, I was wondering if there are any ways to get an infin...[More]


What is the equivalent to the blood moon when in the depths? What is the equivalent to the blood moon when in the depths?

Posted On: June 13, 2023
I've run around the depths for quite a while (100%-ed the lightroots) and I realized. I never saw a blood moon in the depths. The blood moon is essential because it causes enemies/ores to respa...[More]


Is my story over? Is my story over?

Posted On: March 19, 2024
I LOVE NMS but the story is extremely confusing (I think I get the gist) so I'm not sure if I've finished it as I still have two main missions showing in the log. I switched galaxy for the first time ...[More]


Minecraft(on MAC) has Hotbar Scrolling issue Minecraft(on MAC) has Hotbar Scrolling issue

Posted On: June 17, 2023
I have Minecraft installed on my new Mac but there is an issue with the scrolling in the Hotbar. I have to scroll multiple times just to move forward one slot. I used to play Minecraft on Windows but ...[More]


Are there any jump scares - giant sea monsters that would affect someone with thalassophobia? Are there any jump scares - giant sea monsters that would affect someone with thalassophobia?

Posted On: September 18, 2023
I just bought Subnautica from the latest Humble Bundle and I've always wanted to try it out. It looks beautiful and I typically enjoy survival/exploration games. However, I've got a mild case ...[More]


How can a deaf player detect where monsters and caves are in Minecraft? How can a deaf player detect where monsters and caves are in Minecraft?

Posted On: July 13, 2023
I see all the time that the recommended ways to mine is to dig deep and listen out for the sounds of monsters in caves. My niece is deaf, and whilst she loves the building aspect of the game, tasks...[More]


What feats do you use the most? What feats do you use the most?

Posted On: April 19, 2024
For me the staples are every melee attacker has to have savage striker, every spell caster has spell sniper, and usually everyone gets a tough thrown in there as well. What are your go to feats and wh...[More]


How is the additional damage from Chosen weaknesses calculated? How is the additional damage from Chosen weaknesses calculated?

Posted On: January 18, 2023
Some of the Chosens' possible weaknesses make them take additional damage from particular damage sources. These are:.Shell-shocked - additional damage from explosives.Brittle - additional damage from ...[More]


What are decals for in Starcraft 2? What are decals for in Starcraft 2?

Posted On: May 6, 2023
What are the Decals in the rewards section used for? Question from user Erv Walter at gaming.stackexchange.com. Answer: Images of StarCraft II buildings and units with decals:. Answer from...[More]


Rolan can fuck himself Rolan can fuck himself

Posted On: April 15, 2026
This man is the only thing standing between me, and platinuming BG3. How do I ensure that he survives.Question from user RangersAreViable at BaldursGate3 at reddit.com.Answer:Convince him to stay in t...[More]