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;
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
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.
add a comment |
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
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.
add a comment |
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
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
minecraft minecraft-commands
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.
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.
add a comment |
add a comment |
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.
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%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.
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.
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%2f351715%2fminecraft-using-e-to-detect-item-with-a-custom-name%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