How do you test for a specific item in a player inventoryHow can I detect if a player has a specific item with a specific datavalue in their inventory?Is it possible to mark or modify a player with a specific item in their inventoryIs it possible to mark or modify a player with a specific item in their inventoryHow can I search for a specific item with attributes?Minecraft: Test for unique item in item frameRemove armor/any item with specific nameI want to make a system that tests for a specific player at specific coordinates with a specific item?How can I test for a player wearing specific armor?How do I test for a named item in a players inventory? (Minecraft 1.13)How to test for a dropped item in minecraft? 1.13.1
Why is there a large performance impact when looping over an array over 240 elements?
Why does Japan use the same type of AC power outlet as the US?
Did Pope Urban II issue the papal bull "terra nullius" in 1095?
Xdebug not working over Drush
Crippling fear of hellfire &, damnation, please help?
How was the murder committed?
Global BGP Routing only by only importing supernet prefixes
Can lodestones be used to magnetize crude iron weapons?
How to not forget things?
Boss wants me to ignore a software API license
Identifying My Main Water Shutoff Valve / Setup
Escape Velocity - Won't the orbital path just become larger with higher initial velocity?
Is it possible to arrive in the US without a C-1 visa for a transit flight
Are those flyers about apartment purchase a scam?
Word for an event that will likely never happen again
Why did IBM make the PC BIOS source code public?
What is the safest way to leave my MacBook on 24/7 with macOS Mojave?
Doesn't the speed of light limit imply the same electron can be annihilated twice?
Help, I cannot decide when to start the story
What is the farthest a camera can see?
Dogfights in outer space
Shifting tenses in the middle of narration
How should I write this passage to make it the most readable?
Regression terminology, predictor vs IV vs?
How do you test for a specific item in a player inventory
How can I detect if a player has a specific item with a specific datavalue in their inventory?Is it possible to mark or modify a player with a specific item in their inventoryIs it possible to mark or modify a player with a specific item in their inventoryHow can I search for a specific item with attributes?Minecraft: Test for unique item in item frameRemove armor/any item with specific nameI want to make a system that tests for a specific player at specific coordinates with a specific item?How can I test for a player wearing specific armor?How do I test for a named item in a players inventory? (Minecraft 1.13)How to test for a dropped item in minecraft? 1.13.1
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I’m trying to test for a certain item in a players inventory in 1.12.0 version and a can’t figure it out
minecraft
New contributor
Bob starts 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’m trying to test for a certain item in a players inventory in 1.12.0 version and a can’t figure it out
minecraft
New contributor
Bob starts is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Possible duplicate of How can I detect if a player has a specific item with a specific datavalue in their inventory?
– Fabian Röling
20 mins ago
Possible duplicate of Is it possible to mark or modify a player with a specific item in their inventory
– pppery
6 mins ago
add a comment |
I’m trying to test for a certain item in a players inventory in 1.12.0 version and a can’t figure it out
minecraft
New contributor
Bob starts is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I’m trying to test for a certain item in a players inventory in 1.12.0 version and a can’t figure it out
minecraft
minecraft
New contributor
Bob starts is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Bob starts is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Bob starts is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 31 mins ago
Bob startsBob starts
1
1
New contributor
Bob starts is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Bob starts is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Possible duplicate of How can I detect if a player has a specific item with a specific datavalue in their inventory?
– Fabian Röling
20 mins ago
Possible duplicate of Is it possible to mark or modify a player with a specific item in their inventory
– pppery
6 mins ago
add a comment |
Possible duplicate of How can I detect if a player has a specific item with a specific datavalue in their inventory?
– Fabian Röling
20 mins ago
Possible duplicate of Is it possible to mark or modify a player with a specific item in their inventory
– pppery
6 mins ago
Possible duplicate of How can I detect if a player has a specific item with a specific datavalue in their inventory?
– Fabian Röling
20 mins ago
Possible duplicate of How can I detect if a player has a specific item with a specific datavalue in their inventory?
– Fabian Röling
20 mins ago
Possible duplicate of Is it possible to mark or modify a player with a specific item in their inventory
– pppery
6 mins ago
Possible duplicate of Is it possible to mark or modify a player with a specific item in their inventory
– pppery
6 mins ago
add a comment |
1 Answer
1
active
oldest
votes
As MBraedley said here: How can I detect if a player has a specific item with a specific datavalue in their inventory?
The simplest solution is to update to 1.13, which implemented "The Flattening". For every block that had multiple variations based on the data value, a new block has been introduced for each variation with its own block ID (name). This effects the coloured blocks in particular, but there's a number of other block types (wood blocks, for instance) that are also affected. Now all you have to do is:
/tag @a[nbt=Inventory:[id:red_wool]] add CarryingRed
Additionally, 1.13 introduced the idea of tags for groups of blocks or items (or functions) that are related. If you want to tag someone (in the sense of the former scoreboard tag functionality like above), all you have to do is select the wool tag in the selector:
/tag @a[nbt=Inventory:[id:#wool]] add CarryingWool
Note the #wool, which will match any item that is listed in the wool tag, which by default includes all colours of wool.2
The simplest solution is to update to 1.13, which implemented "The Flattening". For every block that had multiple variations based on the data value, a new block has been introduced for each variation with its own block ID (name). This effects the coloured blocks in particular, but there's a number of other block types (wood blocks, for instance) that are also affected. Now all you have to do is:
/tag @a[nbt=Inventory:[id:red_wool]] add CarryingRed
Additionally, 1.13 introduced the idea of tags for groups of blocks or items (or functions) that are related. If you want to tag someone (in the sense of the former scoreboard tag functionality like above), all you have to do is select the wool tag in the selector:
/tag @a[nbt=Inventory:[id:#wool]] add CarryingWool
Note the #wool, which will match any item that is listed in the wool tag, which by default includes all colours of wool.
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
);
);
Bob starts 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%2f356144%2fhow-do-you-test-for-a-specific-item-in-a-player-inventory%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
As MBraedley said here: How can I detect if a player has a specific item with a specific datavalue in their inventory?
The simplest solution is to update to 1.13, which implemented "The Flattening". For every block that had multiple variations based on the data value, a new block has been introduced for each variation with its own block ID (name). This effects the coloured blocks in particular, but there's a number of other block types (wood blocks, for instance) that are also affected. Now all you have to do is:
/tag @a[nbt=Inventory:[id:red_wool]] add CarryingRed
Additionally, 1.13 introduced the idea of tags for groups of blocks or items (or functions) that are related. If you want to tag someone (in the sense of the former scoreboard tag functionality like above), all you have to do is select the wool tag in the selector:
/tag @a[nbt=Inventory:[id:#wool]] add CarryingWool
Note the #wool, which will match any item that is listed in the wool tag, which by default includes all colours of wool.2
The simplest solution is to update to 1.13, which implemented "The Flattening". For every block that had multiple variations based on the data value, a new block has been introduced for each variation with its own block ID (name). This effects the coloured blocks in particular, but there's a number of other block types (wood blocks, for instance) that are also affected. Now all you have to do is:
/tag @a[nbt=Inventory:[id:red_wool]] add CarryingRed
Additionally, 1.13 introduced the idea of tags for groups of blocks or items (or functions) that are related. If you want to tag someone (in the sense of the former scoreboard tag functionality like above), all you have to do is select the wool tag in the selector:
/tag @a[nbt=Inventory:[id:#wool]] add CarryingWool
Note the #wool, which will match any item that is listed in the wool tag, which by default includes all colours of wool.
add a comment |
As MBraedley said here: How can I detect if a player has a specific item with a specific datavalue in their inventory?
The simplest solution is to update to 1.13, which implemented "The Flattening". For every block that had multiple variations based on the data value, a new block has been introduced for each variation with its own block ID (name). This effects the coloured blocks in particular, but there's a number of other block types (wood blocks, for instance) that are also affected. Now all you have to do is:
/tag @a[nbt=Inventory:[id:red_wool]] add CarryingRed
Additionally, 1.13 introduced the idea of tags for groups of blocks or items (or functions) that are related. If you want to tag someone (in the sense of the former scoreboard tag functionality like above), all you have to do is select the wool tag in the selector:
/tag @a[nbt=Inventory:[id:#wool]] add CarryingWool
Note the #wool, which will match any item that is listed in the wool tag, which by default includes all colours of wool.2
The simplest solution is to update to 1.13, which implemented "The Flattening". For every block that had multiple variations based on the data value, a new block has been introduced for each variation with its own block ID (name). This effects the coloured blocks in particular, but there's a number of other block types (wood blocks, for instance) that are also affected. Now all you have to do is:
/tag @a[nbt=Inventory:[id:red_wool]] add CarryingRed
Additionally, 1.13 introduced the idea of tags for groups of blocks or items (or functions) that are related. If you want to tag someone (in the sense of the former scoreboard tag functionality like above), all you have to do is select the wool tag in the selector:
/tag @a[nbt=Inventory:[id:#wool]] add CarryingWool
Note the #wool, which will match any item that is listed in the wool tag, which by default includes all colours of wool.
add a comment |
As MBraedley said here: How can I detect if a player has a specific item with a specific datavalue in their inventory?
The simplest solution is to update to 1.13, which implemented "The Flattening". For every block that had multiple variations based on the data value, a new block has been introduced for each variation with its own block ID (name). This effects the coloured blocks in particular, but there's a number of other block types (wood blocks, for instance) that are also affected. Now all you have to do is:
/tag @a[nbt=Inventory:[id:red_wool]] add CarryingRed
Additionally, 1.13 introduced the idea of tags for groups of blocks or items (or functions) that are related. If you want to tag someone (in the sense of the former scoreboard tag functionality like above), all you have to do is select the wool tag in the selector:
/tag @a[nbt=Inventory:[id:#wool]] add CarryingWool
Note the #wool, which will match any item that is listed in the wool tag, which by default includes all colours of wool.2
The simplest solution is to update to 1.13, which implemented "The Flattening". For every block that had multiple variations based on the data value, a new block has been introduced for each variation with its own block ID (name). This effects the coloured blocks in particular, but there's a number of other block types (wood blocks, for instance) that are also affected. Now all you have to do is:
/tag @a[nbt=Inventory:[id:red_wool]] add CarryingRed
Additionally, 1.13 introduced the idea of tags for groups of blocks or items (or functions) that are related. If you want to tag someone (in the sense of the former scoreboard tag functionality like above), all you have to do is select the wool tag in the selector:
/tag @a[nbt=Inventory:[id:#wool]] add CarryingWool
Note the #wool, which will match any item that is listed in the wool tag, which by default includes all colours of wool.
As MBraedley said here: How can I detect if a player has a specific item with a specific datavalue in their inventory?
The simplest solution is to update to 1.13, which implemented "The Flattening". For every block that had multiple variations based on the data value, a new block has been introduced for each variation with its own block ID (name). This effects the coloured blocks in particular, but there's a number of other block types (wood blocks, for instance) that are also affected. Now all you have to do is:
/tag @a[nbt=Inventory:[id:red_wool]] add CarryingRed
Additionally, 1.13 introduced the idea of tags for groups of blocks or items (or functions) that are related. If you want to tag someone (in the sense of the former scoreboard tag functionality like above), all you have to do is select the wool tag in the selector:
/tag @a[nbt=Inventory:[id:#wool]] add CarryingWool
Note the #wool, which will match any item that is listed in the wool tag, which by default includes all colours of wool.2
The simplest solution is to update to 1.13, which implemented "The Flattening". For every block that had multiple variations based on the data value, a new block has been introduced for each variation with its own block ID (name). This effects the coloured blocks in particular, but there's a number of other block types (wood blocks, for instance) that are also affected. Now all you have to do is:
/tag @a[nbt=Inventory:[id:red_wool]] add CarryingRed
Additionally, 1.13 introduced the idea of tags for groups of blocks or items (or functions) that are related. If you want to tag someone (in the sense of the former scoreboard tag functionality like above), all you have to do is select the wool tag in the selector:
/tag @a[nbt=Inventory:[id:#wool]] add CarryingWool
Note the #wool, which will match any item that is listed in the wool tag, which by default includes all colours of wool.
answered 8 mins ago
The Cosmic TruthThe Cosmic Truth
3109 bronze badges
3109 bronze badges
add a comment |
add a comment |
Bob starts is a new contributor. Be nice, and check out our Code of Conduct.
Bob starts is a new contributor. Be nice, and check out our Code of Conduct.
Bob starts is a new contributor. Be nice, and check out our Code of Conduct.
Bob starts 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%2f356144%2fhow-do-you-test-for-a-specific-item-in-a-player-inventory%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
Possible duplicate of How can I detect if a player has a specific item with a specific datavalue in their inventory?
– Fabian Röling
20 mins ago
Possible duplicate of Is it possible to mark or modify a player with a specific item in their inventory
– pppery
6 mins ago