/data modify with multiple values nbt remove an item on Slot:0b
How to reproduced (Video):
1. Place items inside the container (in this test I use water bottle)
2. run at least two /data modify command in the same tick
/data modify block <container> Items[{tag:{Potion:"minecraft:water"}}].tag set value {Value:"foo"}
/data modify block <container> Items[{tag:{Potion:"minecraft:water"}}].tag set value {Value:"bar"}
3. The item at Slot:0b will be removed even if the previous command returns nothing
What doesn't affect by this:
1. Items[index].tag work just fine
2. other commands such as /data get, etc.
Actual commands I use:
/data modify block ~-1 ~ ~ Items[{tag:{Potion:"minecraft:water"}}] set value {Value:"foo"}
/data modify block ~-1 ~-1 ~ Items[{tag:{Potion:"minecraft:water"}}] set value {Value:"bar"}
2019-01-09, 05:06 PM
2024-04-21, 07:35 PM
4
3
-