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]

Is there a way to tell how much extra heal and shield power you have? Is there a way to tell how much extra heal and shield power you have?

Posted On: September 30, 2023
I am playing Soraka in League of Legends and her main role is to heal her allies, so shes buys items to help. Some of the best items for Soraka are items that give more healing power for example the i...[More]


Easy money in Kerbal Space Program Easy money in Kerbal Space Program

Posted On: March 23, 2023
Ships cost money now a days, but I'm unwilling to make any changes to construction style (TWR >5 all the way!). I've had some trouble making fat stacks of ker-cash. What is the easiest way ...[More]


What are those icons in the top left of the Rain World hibernation screen? What are those icons in the top left of the Rain World hibernation screen?

Posted On: April 17, 2023
As the title says: what are those icons in the top left corner? Question from user Fritz at gaming.stackexchange.com. Answer: You killed some creatures during this life. The crossed bones and...[More]


Is it possible to prevent being ambushed by a FOE? Is it possible to prevent being ambushed by a FOE?

Posted On: April 30, 2024
FOEs, unlike regular encounters, appear on the map. They always face a direction, and if you walk into them from behind, you always get a preemptive strike. Conversely, if they want into you from behi...[More]


Is this Moaning Myrtle in Hogwarts Legacy? Is this Moaning Myrtle in Hogwarts Legacy?

Posted On: June 23, 2023
My fiance was playing Hogwarts Legacy and this girl walked by that looks like Moaning Myrtle. Idk if its supposed to be her or just look like her but either way it's funny. Question from user F...[More]


Collectors Edition Collectors Edition

Posted On: July 1, 2023
For the Collectors Edition trophy, does it require ALL pages? Or just Revelio pages? Currently stuck on 54/55 in Hogsmeade and can't for the life of me find the missing page, I have all the Rev...[More]


Can the Japanese version be played in English? Can the Japanese version be played in English?

Posted On: February 1, 2023
Can the Japanese version of Pokémon Conquest be played in English (via a setting menu or something)? Or can that version of Pokémon Conquest only be played in the Japanese language?Question from...[More]


Why do I receive this birds paw buff sometimes in Elden Ring? Why do I receive this birds paw buff sometimes in Elden Ring?

Posted On: May 17, 2023
Sometimes I just randomly receive this buff with a bird’s paw icon for a short time. I assume it’s a discovery buff, just like from one of the consumables. Why do I get this buff? I notice...[More]


In Assassins Creed 3, What is the best way to expose a ships powder stores? In Assassins Creed 3, What is the best way to expose a ships powder stores?

Posted On: April 16, 2023
On some of the ship missions, there is an optional objective of "sink ships by firing on their powder stores". I know how this works broadly - I've shot up some ships and got the spec...[More]


Is there any way to increase charisma in The Dark Spire? Is there any way to increase charisma in The Dark Spire?

Posted On: May 22, 2023
I wanted to make my warrior character a Paladin, but apparently, he requires a high charisma attribute.   . The other attributes can be increased by training; is there no way to incr...[More]