Why won't this execute if block command work in Minecraft?My command for minecraft executing a command at an entity won't workMinecraft 1.13 execute command on all endermen on the outer end islandsHow do you setblock a command block that testsfor a named item in a player's inventory?How can I clear items with a custom name using a command block? (using to "lock/unlock doors)Why isn't my Minecraft detect command working when executed by a command block?Clear named (and lored) item from players inventory 1.13Clearing a Custom Lore Item from inventory Minecraft 1.13How do I edit NBT tags of inventory items?Minecraft 1.14 /give command with multiple NBT tagsMinecraft new 1.14.2 tag display name detection command
What is the parallel of Day of the Dead with Stranger things?
Chrysanthemum bejeweled with dew drops
Redundancy in rappel systems
How do we handle pauses in a dialogue?
PDF page & word count, recursive searching of directory tree, output to excel
Is system.schedule(...) @AuraEnabled?
Swapping "Good" and "Bad"
What do three diagonal dots above a letter mean in the "Misal rico de Cisneros" (Spain, 1518)?
"was fiction" vs "were fictions"
Is there a method for differentiating informative comments from commented out code?
Is that a case of "DOUBLE-NEGATIVES" as claimed by Grammarly?
Is this a reference to the film Alien in the novel 2010 Odyssey Two?
What in New Testament invalidates God’s commandments from the Old Testament?
Would a carnivorous diet be able to support a giant worm?
Postgres Trigram acting strange for specific characters
Why do we need common sense in AI?
Why weren't bootable game disks ever a thing on the IBM PC?
How many tone holes are there actually in different orchestral woodwind instruments?
Is there a strong legal guarantee that the U.S. can give to another country that it won't attack them?
Should I include code in my research paper?
What happens when adult Billy Batson says "Shazam"?
Distinguish the explanations of Galadriel's test in LotR
What is a "Lear Processor" and how did it work?
How quality assurance engineers test calculations?
Why won't this execute if block command work in Minecraft?
My command for minecraft executing a command at an entity won't workMinecraft 1.13 execute command on all endermen on the outer end islandsHow do you setblock a command block that testsfor a named item in a player's inventory?How can I clear items with a custom name using a command block? (using to "lock/unlock doors)Why isn't my Minecraft detect command working when executed by a command block?Clear named (and lored) item from players inventory 1.13Clearing a Custom Lore Item from inventory Minecraft 1.13How do I edit NBT tags of inventory items?Minecraft 1.14 /give command with multiple NBT tagsMinecraft new 1.14.2 tag display name detection command
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm playing in the new snapshot, 18w01a.
I'm trying to detect if a hopper has a specific renamed item in it using this command:
/execute if block "x" "y" "z" minecraft:hopperItems:[id:"minecraft:paper",tag:display:Name:"12345"] run say hi
I have a piece of paper renamed 12345 in the hopper and the command fails when I try to run it. If I remove the tag/display/Name argument, the command runs fine, but that's no help to me. I'm sure I don't have the syntax wrong, so what gives? Is this a bug? If it's not a bug, I won't report it on the bug tracker, but right now I'm a little iffy.
minecraft minecraft-commands
add a comment |
I'm playing in the new snapshot, 18w01a.
I'm trying to detect if a hopper has a specific renamed item in it using this command:
/execute if block "x" "y" "z" minecraft:hopperItems:[id:"minecraft:paper",tag:display:Name:"12345"] run say hi
I have a piece of paper renamed 12345 in the hopper and the command fails when I try to run it. If I remove the tag/display/Name argument, the command runs fine, but that's no help to me. I'm sure I don't have the syntax wrong, so what gives? Is this a bug? If it's not a bug, I won't report it on the bug tracker, but right now I'm a little iffy.
minecraft minecraft-commands
1
What do you mean by the command fails? What error is given, or does it simply give no response?
– 54D
Jan 10 '18 at 4:31
Try an easier command/a part of the command first. Many things changed in 1.13, so it could be theexecutepart, the NBT structure of the hopper, the item part, the name part, ...
– Fabian Röling
Jan 10 '18 at 8:12
I think you need to specify a slot somewhere.
– Fabian Röling
Jan 10 '18 at 8:12
add a comment |
I'm playing in the new snapshot, 18w01a.
I'm trying to detect if a hopper has a specific renamed item in it using this command:
/execute if block "x" "y" "z" minecraft:hopperItems:[id:"minecraft:paper",tag:display:Name:"12345"] run say hi
I have a piece of paper renamed 12345 in the hopper and the command fails when I try to run it. If I remove the tag/display/Name argument, the command runs fine, but that's no help to me. I'm sure I don't have the syntax wrong, so what gives? Is this a bug? If it's not a bug, I won't report it on the bug tracker, but right now I'm a little iffy.
minecraft minecraft-commands
I'm playing in the new snapshot, 18w01a.
I'm trying to detect if a hopper has a specific renamed item in it using this command:
/execute if block "x" "y" "z" minecraft:hopperItems:[id:"minecraft:paper",tag:display:Name:"12345"] run say hi
I have a piece of paper renamed 12345 in the hopper and the command fails when I try to run it. If I remove the tag/display/Name argument, the command runs fine, but that's no help to me. I'm sure I don't have the syntax wrong, so what gives? Is this a bug? If it's not a bug, I won't report it on the bug tracker, but right now I'm a little iffy.
minecraft minecraft-commands
minecraft minecraft-commands
edited 2 hours ago
pppery
6235 silver badges16 bronze badges
6235 silver badges16 bronze badges
asked Jan 10 '18 at 2:18
OnePointZeroOnePointZero
788 bronze badges
788 bronze badges
1
What do you mean by the command fails? What error is given, or does it simply give no response?
– 54D
Jan 10 '18 at 4:31
Try an easier command/a part of the command first. Many things changed in 1.13, so it could be theexecutepart, the NBT structure of the hopper, the item part, the name part, ...
– Fabian Röling
Jan 10 '18 at 8:12
I think you need to specify a slot somewhere.
– Fabian Röling
Jan 10 '18 at 8:12
add a comment |
1
What do you mean by the command fails? What error is given, or does it simply give no response?
– 54D
Jan 10 '18 at 4:31
Try an easier command/a part of the command first. Many things changed in 1.13, so it could be theexecutepart, the NBT structure of the hopper, the item part, the name part, ...
– Fabian Röling
Jan 10 '18 at 8:12
I think you need to specify a slot somewhere.
– Fabian Röling
Jan 10 '18 at 8:12
1
1
What do you mean by the command fails? What error is given, or does it simply give no response?
– 54D
Jan 10 '18 at 4:31
What do you mean by the command fails? What error is given, or does it simply give no response?
– 54D
Jan 10 '18 at 4:31
Try an easier command/a part of the command first. Many things changed in 1.13, so it could be the
execute part, the NBT structure of the hopper, the item part, the name part, ...– Fabian Röling
Jan 10 '18 at 8:12
Try an easier command/a part of the command first. Many things changed in 1.13, so it could be the
execute part, the NBT structure of the hopper, the item part, the name part, ...– Fabian Röling
Jan 10 '18 at 8:12
I think you need to specify a slot somewhere.
– Fabian Röling
Jan 10 '18 at 8:12
I think you need to specify a slot somewhere.
– Fabian Röling
Jan 10 '18 at 8:12
add a comment |
1 Answer
1
active
oldest
votes
In 1.13, the syntax for display names changed to text components. In my case, we'd have to write it as:
/execute if block "x" "y" "z" minecraft:hopperItems:[id:"minecraft:paper",tag:display:Name:""text:":"12345""] run say hi
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%2f324693%2fwhy-wont-this-execute-if-block-command-work-in-minecraft%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In 1.13, the syntax for display names changed to text components. In my case, we'd have to write it as:
/execute if block "x" "y" "z" minecraft:hopperItems:[id:"minecraft:paper",tag:display:Name:""text:":"12345""] run say hi
add a comment |
In 1.13, the syntax for display names changed to text components. In my case, we'd have to write it as:
/execute if block "x" "y" "z" minecraft:hopperItems:[id:"minecraft:paper",tag:display:Name:""text:":"12345""] run say hi
add a comment |
In 1.13, the syntax for display names changed to text components. In my case, we'd have to write it as:
/execute if block "x" "y" "z" minecraft:hopperItems:[id:"minecraft:paper",tag:display:Name:""text:":"12345""] run say hi
In 1.13, the syntax for display names changed to text components. In my case, we'd have to write it as:
/execute if block "x" "y" "z" minecraft:hopperItems:[id:"minecraft:paper",tag:display:Name:""text:":"12345""] run say hi
edited Jan 13 '18 at 21:23
RudolfJelin
5,1697 gold badges31 silver badges75 bronze badges
5,1697 gold badges31 silver badges75 bronze badges
answered Jan 13 '18 at 18:48
OnePointZeroOnePointZero
788 bronze badges
788 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%2f324693%2fwhy-wont-this-execute-if-block-command-work-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
1
What do you mean by the command fails? What error is given, or does it simply give no response?
– 54D
Jan 10 '18 at 4:31
Try an easier command/a part of the command first. Many things changed in 1.13, so it could be the
executepart, the NBT structure of the hopper, the item part, the name part, ...– Fabian Röling
Jan 10 '18 at 8:12
I think you need to specify a slot somewhere.
– Fabian Röling
Jan 10 '18 at 8:12