-
Bug
-
Resolution: Duplicate
-
None
-
1.15.2
-
None
-
Java 1.8.0_241
-
Unconfirmed
-
(Unassigned)
In trying to use the nbt target selectors on data with a string field, particularly named items, the ordering of the text entries seems to randomize, breaking the commands that are meant to test for such items.
e.g. if I create an item with the nbt field {display:{Name:'{"text":"Blacksmith Chestplate","color":"black"}'}} and then use commands to search for items with this nbt tag, sometimes the commands fail as the items have randomly switched their nbt to {display:{Name:'{"color":"black","text":"Blacksmith Chestplate"}'}} (which is NOT treated the same by the nbt target selector).
This is particularly prevalent sometimes when switching things in inventory around, changing gamemodes, or copying the items in creative mode.
- duplicates
-
MC-124186 Items with equivalent but differently ordered name objects don't stack
- Resolved