How to execute a specific item in minecraftHow to test if 2 items are near each other in Minecraft 1.10.2?Clearing Items with NBT TagsHow to execute a command relative to an entityMinecraft using the /execute command for specific peopleMinecraft command execute problem + 1.9 scoreboard tag problemTrying to make an item follow meHow to /execute a specific dropped item and execute an armor_stand in 1 command? [1.12]Clearing a Custom Lore Item from inventory Minecraft 1.13How to test for a dropped item in minecraft? 1.13.1Distance command and tag command not workingMinecraft Commands - Detecting an item on the ground with a custom tag
Unknown indication below upper stave
Do 3/8 (37.5%) of Quadratics Have No x-Intercepts?
8086 stack segment and avoiding overflow in interrupts
Is there a word to describe someone who is, or the state of being, content with hanging around others without interacting with them?
Should I accept an invitation to give a talk from someone who might review my proposal?
If the Moon were impacted by a suitably sized meteor, how long would it take to impact the Earth?
Why is it considered acid rain with pH <5.6?
How do I make my photos have more impact?
Scam? Checks via Email
Can Lightning Lure be used to knock out a creature like a magical Taser?
How do I find the FamilyGUID of an exsting database
Why did some Apollo missions carry a grenade launcher?
Can a US President, after impeachment and removal, be re-elected or re-appointed?
What are the cons of stateless password generators?
What language is Raven using for her attack in the new 52?
Polish citizen flying from Canada to Honolulu with a layover in Chicago
How to improve king safety
To find islands of 1 and 0 in matrix
Can Papyrus be folded?
Omnidirectional LED, is it possible?
Wrapping IMemoryCache with SemaphoreSlim
Why force the nose of 737 Max down in the first place?
Rampant sharing of authorship among colleagues in the name of "collaboration". Is not taking part in it a death knell for a future in academia?
How does the Thief's Fast Hands feature interact with mundane and magical shields?
How to execute a specific item in minecraft
How to test if 2 items are near each other in Minecraft 1.10.2?Clearing Items with NBT TagsHow to execute a command relative to an entityMinecraft using the /execute command for specific peopleMinecraft command execute problem + 1.9 scoreboard tag problemTrying to make an item follow meHow to /execute a specific dropped item and execute an armor_stand in 1 command? [1.12]Clearing a Custom Lore Item from inventory Minecraft 1.13How to test for a dropped item in minecraft? 1.13.1Distance command and tag command not workingMinecraft Commands - Detecting an item on the ground with a custom tag
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
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
minecraft minecraft-commands
add a comment |
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
minecraft minecraft-commands
add a comment |
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
minecraft minecraft-commands
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
minecraft minecraft-commands
minecraft minecraft-commands
edited Sep 20 '18 at 9:32
Fabian Röling
10.8k3 gold badges18 silver badges50 bronze badges
10.8k3 gold badges18 silver badges50 bronze badges
asked Mar 24 '17 at 13:48
Mohannad El-NesrMohannad El-Nesr
11011 bronze badges
11011 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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
add a comment |
Minecraft 1.13 merged NBT tags into the selector syntax, making this easy:
/execute as @e[type=item,nbt={Item:id:"minecraft:tripwire_hook",Count:1b,tag:display:Name:""Lightninger"",Lore:[]] run summon lightning_bolt
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "41"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f304055%2fhow-to-execute-a-specific-item-in-minecraft%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
add a comment |
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
add a comment |
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
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
edited Mar 24 '17 at 14:56
Skylinerw
11.8k1 gold badge16 silver badges33 bronze badges
11.8k1 gold badge16 silver badges33 bronze badges
answered Mar 24 '17 at 13:48
Mohannad El-NesrMohannad El-Nesr
11011 bronze badges
11011 bronze badges
add a comment |
add a comment |
Minecraft 1.13 merged NBT tags into the selector syntax, making this easy:
/execute as @e[type=item,nbt={Item:id:"minecraft:tripwire_hook",Count:1b,tag:display:Name:""Lightninger"",Lore:[]] run summon lightning_bolt
add a comment |
Minecraft 1.13 merged NBT tags into the selector syntax, making this easy:
/execute as @e[type=item,nbt={Item:id:"minecraft:tripwire_hook",Count:1b,tag:display:Name:""Lightninger"",Lore:[]] run summon lightning_bolt
add a comment |
Minecraft 1.13 merged NBT tags into the selector syntax, making this easy:
/execute as @e[type=item,nbt={Item:id:"minecraft:tripwire_hook",Count:1b,tag:display:Name:""Lightninger"",Lore:[]] run summon lightning_bolt
Minecraft 1.13 merged NBT tags into the selector syntax, making this easy:
/execute as @e[type=item,nbt={Item:id:"minecraft:tripwire_hook",Count:1b,tag:display:Name:""Lightninger"",Lore:[]] run summon lightning_bolt
answered 30 mins ago
ppperypppery
1,4267 silver badges20 bronze badges
1,4267 silver badges20 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Arqade!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f304055%2fhow-to-execute-a-specific-item-in-minecraft%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown