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;








1















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.










share|improve this question



















  • 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 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

















1















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.










share|improve this question



















  • 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 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













1












1








1


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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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












  • 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 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







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










1 Answer
1






active

oldest

votes


















2














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





share|improve this answer



























    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
    );



    );













    draft saved

    draft discarded


















    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









    2














    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





    share|improve this answer





























      2














      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





      share|improve this answer



























        2












        2








        2







        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





        share|improve this answer















        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






        share|improve this answer














        share|improve this answer



        share|improve this answer








        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



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

            The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

            19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу