(Java Minecraft 1.14) Loot table reward won't stack with /given item, even though they have the same nbt?How can I detect if a player has a specific item with a specific datavalue in their inventory?Are you able to play LAN with your friends on Minecraft even if they don't have the same modsHow do I edit NBT tags of inventory items?(Java Minecraft 1.14) How to detect multiple item entities which are stacks of the same size on a particular block?(Java Minecraft 1.14) Damage nbt can't be used to select item entities?(Java Minecraft 1.14) How to use /data with an nbt path?(Java Minecraft 1.14) Trouble giving a scoreboard tag to a /given itemIs it possible to index raw JSON text, or index multiple NBT path data in one line? (Scanning Horses in Minecraft)Need help writing a command in minecraft(Java Minecraft 1.14) How to set the probability of nested entries in a loot table?
Why private jets such as GulfStream ones fly higher than other civil jets?
Which genus do I use for neutral expressions in German?
What is the German idiom or expression for when someone is being hypocritical against their own teachings?
Getting Lost in the Caves of Chaos
Our group keeps dying during the Lost Mine of Phandelver campaign. What are we doing wrong?
Whats the difference between <processors> and <pipelines> in Sitecore configuration?
Why does putting a dot after the URL remove login information?
Did silent film actors actually say their lines or did they simply improvise “dialogue” while being filmed?
I was contacted by a private bank overseas to get my inheritance
I am considering a visit to a Nevada brothel. What should I say at the US border?
Is space radiation a risk for space film photography, and how is this prevented?
The meaning of "scale" in "because diversions scale so easily wealth becomes concentrated"
Do some languages mention the top limit of a range first?
Does a 4 bladed prop have almost twice the thrust of a 2 bladed prop?
Non-small objects in categories
Why do proponents of guns oppose gun competency tests?
Premier League simulation
Vibration on the guitar when playing two strings
Can a Hogwarts student refuse the Sorting Hat's decision?
Traveling from Germany to other countries by train?
Identify Batman without getting caught
Changing Row Keys into Normal Rows
Why is Chromosome 1 called Chromosome 1?
How important is it to have a spot meter on the light meter?
(Java Minecraft 1.14) Loot table reward won't stack with /given item, even though they have the same nbt?
How can I detect if a player has a specific item with a specific datavalue in their inventory?Are you able to play LAN with your friends on Minecraft even if they don't have the same modsHow do I edit NBT tags of inventory items?(Java Minecraft 1.14) How to detect multiple item entities which are stacks of the same size on a particular block?(Java Minecraft 1.14) Damage nbt can't be used to select item entities?(Java Minecraft 1.14) How to use /data with an nbt path?(Java Minecraft 1.14) Trouble giving a scoreboard tag to a /given itemIs it possible to index raw JSON text, or index multiple NBT path data in one line? (Scanning Horses in Minecraft)Need help writing a command in minecraft(Java Minecraft 1.14) How to set the probability of nested entries in a loot table?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have an item in a datapack which has a supplemental function to give it straight to the player (for testing), and an entry in a loot table (which is how survival players get it). I recently noticed that these two items will not stack, under any circumstances, even though they should have the exact same nbt data. The /give
command looks like this:
give @s minecraft:quartzdmd_dark_quartz:1b,CustomModelData:256,display:Name:""text":"Dark Quartz","color":"dark_purple","italic":"false"" 1
While the loot table looks like this:
"type": "minecraft:item",
"conditions": [
"condition": "random_chance",
"chance": 0.75
],
"functions": [
"function": "set_name",
"name": "text":"Dark Quartz","color":"dark_purple","italic":"false"
,
"function": "set_nbt",
"tag": "dmd_dark_quartz:1b,CustomModelData:256"
,
"function": "minecraft:explosion_decay"
],
"name": "minecraft:quartz"
When I hold the two items in my hand and use /data get entity @s SelectedItem
, the only difference is that there are no quotes surrounding the false value for italics in the loot table version. Here's a picture for further clarification of what I mean:
I underlined the false
values that were different. Does anyone know if this is a bug or what causes this? I think it's probably a bug because all other values ("dark_purple"
, for example) have the quotes, but that singular one doesn't. Is it because it is a true/false value and doesn't need quotes? I would prefer if they stacked because then testing would be easier and I wouldn't have to test both versions for everything, but not including quotes in the /give
command seems a bit sacrilegious.
Upon further testing, not including the quotes in the /give
command gives an item that has the exact same nbt (so the /data get
looks exactly the same) as the loot table version but still doesn't stack with either one.
Any answers on why this is happening?
minecraft minecraft-commands minecraft-datapack
add a comment |
I have an item in a datapack which has a supplemental function to give it straight to the player (for testing), and an entry in a loot table (which is how survival players get it). I recently noticed that these two items will not stack, under any circumstances, even though they should have the exact same nbt data. The /give
command looks like this:
give @s minecraft:quartzdmd_dark_quartz:1b,CustomModelData:256,display:Name:""text":"Dark Quartz","color":"dark_purple","italic":"false"" 1
While the loot table looks like this:
"type": "minecraft:item",
"conditions": [
"condition": "random_chance",
"chance": 0.75
],
"functions": [
"function": "set_name",
"name": "text":"Dark Quartz","color":"dark_purple","italic":"false"
,
"function": "set_nbt",
"tag": "dmd_dark_quartz:1b,CustomModelData:256"
,
"function": "minecraft:explosion_decay"
],
"name": "minecraft:quartz"
When I hold the two items in my hand and use /data get entity @s SelectedItem
, the only difference is that there are no quotes surrounding the false value for italics in the loot table version. Here's a picture for further clarification of what I mean:
I underlined the false
values that were different. Does anyone know if this is a bug or what causes this? I think it's probably a bug because all other values ("dark_purple"
, for example) have the quotes, but that singular one doesn't. Is it because it is a true/false value and doesn't need quotes? I would prefer if they stacked because then testing would be easier and I wouldn't have to test both versions for everything, but not including quotes in the /give
command seems a bit sacrilegious.
Upon further testing, not including the quotes in the /give
command gives an item that has the exact same nbt (so the /data get
looks exactly the same) as the loot table version but still doesn't stack with either one.
Any answers on why this is happening?
minecraft minecraft-commands minecraft-datapack
I'll put a link to a datapack with the function and loot table in case anyone is interested tomorrow morning.
– Nik3141
1 hour ago
add a comment |
I have an item in a datapack which has a supplemental function to give it straight to the player (for testing), and an entry in a loot table (which is how survival players get it). I recently noticed that these two items will not stack, under any circumstances, even though they should have the exact same nbt data. The /give
command looks like this:
give @s minecraft:quartzdmd_dark_quartz:1b,CustomModelData:256,display:Name:""text":"Dark Quartz","color":"dark_purple","italic":"false"" 1
While the loot table looks like this:
"type": "minecraft:item",
"conditions": [
"condition": "random_chance",
"chance": 0.75
],
"functions": [
"function": "set_name",
"name": "text":"Dark Quartz","color":"dark_purple","italic":"false"
,
"function": "set_nbt",
"tag": "dmd_dark_quartz:1b,CustomModelData:256"
,
"function": "minecraft:explosion_decay"
],
"name": "minecraft:quartz"
When I hold the two items in my hand and use /data get entity @s SelectedItem
, the only difference is that there are no quotes surrounding the false value for italics in the loot table version. Here's a picture for further clarification of what I mean:
I underlined the false
values that were different. Does anyone know if this is a bug or what causes this? I think it's probably a bug because all other values ("dark_purple"
, for example) have the quotes, but that singular one doesn't. Is it because it is a true/false value and doesn't need quotes? I would prefer if they stacked because then testing would be easier and I wouldn't have to test both versions for everything, but not including quotes in the /give
command seems a bit sacrilegious.
Upon further testing, not including the quotes in the /give
command gives an item that has the exact same nbt (so the /data get
looks exactly the same) as the loot table version but still doesn't stack with either one.
Any answers on why this is happening?
minecraft minecraft-commands minecraft-datapack
I have an item in a datapack which has a supplemental function to give it straight to the player (for testing), and an entry in a loot table (which is how survival players get it). I recently noticed that these two items will not stack, under any circumstances, even though they should have the exact same nbt data. The /give
command looks like this:
give @s minecraft:quartzdmd_dark_quartz:1b,CustomModelData:256,display:Name:""text":"Dark Quartz","color":"dark_purple","italic":"false"" 1
While the loot table looks like this:
"type": "minecraft:item",
"conditions": [
"condition": "random_chance",
"chance": 0.75
],
"functions": [
"function": "set_name",
"name": "text":"Dark Quartz","color":"dark_purple","italic":"false"
,
"function": "set_nbt",
"tag": "dmd_dark_quartz:1b,CustomModelData:256"
,
"function": "minecraft:explosion_decay"
],
"name": "minecraft:quartz"
When I hold the two items in my hand and use /data get entity @s SelectedItem
, the only difference is that there are no quotes surrounding the false value for italics in the loot table version. Here's a picture for further clarification of what I mean:
I underlined the false
values that were different. Does anyone know if this is a bug or what causes this? I think it's probably a bug because all other values ("dark_purple"
, for example) have the quotes, but that singular one doesn't. Is it because it is a true/false value and doesn't need quotes? I would prefer if they stacked because then testing would be easier and I wouldn't have to test both versions for everything, but not including quotes in the /give
command seems a bit sacrilegious.
Upon further testing, not including the quotes in the /give
command gives an item that has the exact same nbt (so the /data get
looks exactly the same) as the loot table version but still doesn't stack with either one.
Any answers on why this is happening?
minecraft minecraft-commands minecraft-datapack
minecraft minecraft-commands minecraft-datapack
asked 1 hour ago


Nik3141Nik3141
1,7484 silver badges28 bronze badges
1,7484 silver badges28 bronze badges
I'll put a link to a datapack with the function and loot table in case anyone is interested tomorrow morning.
– Nik3141
1 hour ago
add a comment |
I'll put a link to a datapack with the function and loot table in case anyone is interested tomorrow morning.
– Nik3141
1 hour ago
I'll put a link to a datapack with the function and loot table in case anyone is interested tomorrow morning.
– Nik3141
1 hour ago
I'll put a link to a datapack with the function and loot table in case anyone is interested tomorrow morning.
– Nik3141
1 hour ago
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
);
);
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%2f355758%2fjava-minecraft-1-14-loot-table-reward-wont-stack-with-given-item-even-thoug%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
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%2f355758%2fjava-minecraft-1-14-loot-table-reward-wont-stack-with-given-item-even-thoug%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
I'll put a link to a datapack with the function and loot table in case anyone is interested tomorrow morning.
– Nik3141
1 hour ago