Minecraft : using @e[] to detect item with a custom nameHow can I detect if a player has a specific item with a specific datavalue in their inventory?How to execute at a player holding a specific item in Minecraft?Minecraft– How to detect for player with custom headTest for a specific item with a coloured name in a chestSnapshot 18w02a: How do you set a custom name for an entity through commands?How can I clear items with a custom name using a command block? (using to "lock/unlock doors)Clearing a Custom Lore Item from inventory Minecraft 1.13How to summon a custom item?(P.C)(V1.13)How to test for a dropped item in minecraft? 1.13.1How do I edit NBT tags of inventory items?

How to let other coworkers know that I don't share my coworker's political views?

Compaq Portable vs IBM 5155 Portable PC

What is the function of the corrugations on a section of the Space Shuttle's external tank?

Is Jon Snow the last of his House?

Specific alignment within beginalign environment

A steel cutting sword?

Need to read my home electrical meter

Is "cool" appropriate or offensive to use in IMs?

Where have Brexit voters gone?

Is it legal to meet with potential future employers in the UK, whilst visiting from the USA

In the 3D Zeldas, is it faster to roll or to simply walk?

Can I tell a prospective employee that everyone in the team is leaving?

My employer faked my resume to acquire projects

Is this statement about cut time correct?

Is the Indo-European language family made up?

Why do Russians almost not use verbs of possession akin to "have"?

Convert Byte array into collection of items of different types

Open office space - complaints for noise - how to respond

How to patch glass cuts in a bicycle tire?

Why does the hash of infinity have the digits of π?

Can a British citizen living in France vote in both France and Britain in the European Elections?

Is it possible to remotely hack the GPS system and disable GPS service worldwide?

Can I connect my older mathematica front-end to the free wolfram engine?

Dad jokes are fun



Minecraft : using @e[] to detect item with a custom name


How can I detect if a player has a specific item with a specific datavalue in their inventory?How to execute at a player holding a specific item in Minecraft?Minecraft– How to detect for player with custom headTest for a specific item with a coloured name in a chestSnapshot 18w02a: How do you set a custom name for an entity through commands?How can I clear items with a custom name using a command block? (using to "lock/unlock doors)Clearing a Custom Lore Item from inventory Minecraft 1.13How to summon a custom item?(P.C)(V1.13)How to test for a dropped item in minecraft? 1.13.1How do I edit NBT tags of inventory items?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to get a command block to teleport 1 Polished Granite (which is dropped on the floor) 1 block above itself (the command block). It also has a custom name, being "Block A" , and my command looks like this:



tp @e[type=item,nbt=Item:[id:"minecraft:polished_granite",Count:1b,tag:[display:"Name:"text":"Block A""]]] ~ ~1 ~


The output given by the command block, however, says there was no entity detected. I could use name="Polished Granite" inside of the @e[] instead to detect the Polished Granite itself, but I want it to detect specifically the one with the custom name. Does anyone know what I'm doing wrong?










share|improve this question







New contributor



person is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I am trying to get a command block to teleport 1 Polished Granite (which is dropped on the floor) 1 block above itself (the command block). It also has a custom name, being "Block A" , and my command looks like this:



    tp @e[type=item,nbt=Item:[id:"minecraft:polished_granite",Count:1b,tag:[display:"Name:"text":"Block A""]]] ~ ~1 ~


    The output given by the command block, however, says there was no entity detected. I could use name="Polished Granite" inside of the @e[] instead to detect the Polished Granite itself, but I want it to detect specifically the one with the custom name. Does anyone know what I'm doing wrong?










    share|improve this question







    New contributor



    person is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      0












      0








      0








      I am trying to get a command block to teleport 1 Polished Granite (which is dropped on the floor) 1 block above itself (the command block). It also has a custom name, being "Block A" , and my command looks like this:



      tp @e[type=item,nbt=Item:[id:"minecraft:polished_granite",Count:1b,tag:[display:"Name:"text":"Block A""]]] ~ ~1 ~


      The output given by the command block, however, says there was no entity detected. I could use name="Polished Granite" inside of the @e[] instead to detect the Polished Granite itself, but I want it to detect specifically the one with the custom name. Does anyone know what I'm doing wrong?










      share|improve this question







      New contributor



      person is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I am trying to get a command block to teleport 1 Polished Granite (which is dropped on the floor) 1 block above itself (the command block). It also has a custom name, being "Block A" , and my command looks like this:



      tp @e[type=item,nbt=Item:[id:"minecraft:polished_granite",Count:1b,tag:[display:"Name:"text":"Block A""]]] ~ ~1 ~


      The output given by the command block, however, says there was no entity detected. I could use name="Polished Granite" inside of the @e[] instead to detect the Polished Granite itself, but I want it to detect specifically the one with the custom name. Does anyone know what I'm doing wrong?







      minecraft minecraft-commands






      share|improve this question







      New contributor



      person is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      person is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      person is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 17 mins ago









      personperson

      11




      11




      New contributor



      person is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      person is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












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



          );






          person is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f351715%2fminecraft-using-e-to-detect-item-with-a-custom-name%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          person is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          person is a new contributor. Be nice, and check out our Code of Conduct.












          person is a new contributor. Be nice, and check out our Code of Conduct.











          person is a new contributor. Be nice, and check out our Code of Conduct.














          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%2f351715%2fminecraft-using-e-to-detect-item-with-a-custom-name%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. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу