-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 18w50a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, 1.15.2, 20w08a, 1.20.4, 1.20.5 Release Candidate 2
-
None
-
Confirmed
-
Commands
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"}
- is duplicated by
-
MC-148268 Using /data modify to edit the contents of a chest deletes the item on slot 0
- Resolved