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 the red line on the turbine tower mean? What does the red line on the turbine tower mean?

Posted On: March 6, 2024
Some missions in Splatoon 3 Side Order have a turbine tower you need to continually attack and fill with ink to make it move. There is a red line on the tower's container, similar to the line on an in...[More]


What are the benefits of playing with original game CDs? What are the benefits of playing with original game CDs?

Posted On: June 10, 2023
Please don't take me in the wrong sense. I am not advocating for piracy. In fact I want to know about the advantages of playing with original game CDs so that I can attract gamers in my region, in...[More]


What is the use of making dinosaurs poop in Ark? What is the use of making dinosaurs poop in Ark?

Posted On: June 20, 2023
I'm kinda new to Ark, and exploring the (awkward) menus I've discovered that it's possible to force a tamed animal/dinosaur to poop. Why? Is there any actual advantage for doing this? O...[More]


Cant restore my Wii: BootMii Wont Work Cant restore my Wii: BootMii Wont Work

Posted On: March 24, 2023
I am trying to restore or un-modify my Wii. When I try to start BootMii from the Home Brew Channel, I get only a black screen. Can somebody please help me? I don't know how the heck I would hav...[More]


Why is this Electrolyzer and Hydrogen Generator combo unsustainable? Why is this Electrolyzer and Hydrogen Generator combo unsustainable?

Posted On: April 13, 2024
I have this small Electrolyzer + Hydrogen Generator setup in my base:.The Electrolyzer says it generates 112 g/s of Hydrogen, while the Hydrogen Generator states it needs 100g/s of Hydrogen to functio...[More]


How can I play Quake on OS X 10.7 or above? How can I play Quake on OS X 10.7 or above?

Posted On: February 9, 2023
Is there any option for native playing Quake on OS X 10.7 and above?Question from user LuisEspinoza at gaming.stackexchange.com.Answer:Yes there is actually a way to play Quake but you'll need the CD ...[More]


Custom Biome by Y level minecraft datapack Custom Biome by Y level minecraft datapack

Posted On: January 16, 2023
I would like anywhere under y28 in the nether to be a custom biome called "nether_depths". I tried using code from the deep dark (since it only spawns deep in the world), but it does not see...[More]


In SoulKnight Game is there a secret way to get some character skins? In SoulKnight Game is there a secret way to get some character skins?

Posted On: August 18, 2023
I'm quite new playing soulknight, And I quite find it enjoying and entertaining, I see that there are skins in the game, but I just can't afford to buy one, Is there a secret thing or secret m...[More]


Can I go back for clues later if I confront Risky Boots now? Can I go back for clues later if I confront Risky Boots now?

Posted On: April 27, 2024
Near the end of Shantae: Half Genie Hero, Uncle Mimic tells Shantae that she can either confront Risky Boots head on or search for four clues first to formulate a plan. I've been told that searching f...[More]


How do I get the space shuttle launch in Gameboy Tetris? How do I get the space shuttle launch in Gameboy Tetris?

Posted On: February 12, 2023
I've been playing Tetris on the virtual Gameboy console on my Nintendo Switch. As a kid, with an actual Gameboy, I remember getting to see a space shuttle launch after doing well enough on an A-Ty...[More]