Dyes in creative inventory are in reverse order
The bug
In the creative inventory, every block that is available in 16 colors is ordered as "White, Orange, Magenta ... Green, Red, Black." However, the dye items are listed as "Black, Red, Green ... Magenta, Orange, White." This is because the initialization of the dyes in the Item class is reversed.
Linked Issues
- Fixed
mbanders
[Mojang] Felix Jones- 20
- 6
- Confirmed
- UI
- creative-inventory-contents
1.13.1 - 1.16.2-pre1
1.13.1 1.13.2-pre1 1.13.2-pre2 1.13.2 18w48a 18w48b 18w49a 18w50a 19w02a 19w03a 19w03b 19w03c 19w04a 19w04b 19w05a 19w06a 19w07a 19w08b 19w09a 19w11a 19w11b 19w12a 19w12b 19w13a 19w13b 19w14a 19w14b 1.14-pre1 1.14-pre2 1.14-pre3 1.14-pre5 1.14 1.14.1 1.14.2 1.14.3-pre1 1.14.3-pre2 1.14.3-pre3 1.14.3-pre4 1.14.3 1.14.4-pre1 1.14.4-pre2 1.14.4-pre3 1.14.4-pre4 1.14.4-pre5 1.14.4-pre6 1.14.4-pre7 1.14.4 19w34a 19w35a 19w37a 19w38b 19w38a 19w39a 19w40a 19w41a 19w42a 19w44a 19w45a 19w45b 19w46a 19w46b 1.15-pre1 1.15-pre2 1.15-pre3 1.15-pre4 1.15-pre5 1.15-pre7 1.15 1.15.1 1.15.1-pre1 1.15.2-pre1 1.15.2-pre2 1.15.2 20w06a 20w07a 20w08a 20w09a 20w10a 20w11a 20w12a 20w13a 20w13b 20w14a 20w15a 20w16a 20w17a 20w18a 20w19a 20w20a 20w20b 20w21a 20w22a 1.16-pre1 1.16-pre2 1.16-pre3 1.16-pre4 1.16-pre5 1.16-pre6 1.16-pre7 1.16-pre8 1.16-rc1 1.16 1.16.1 20w27a 20w28a 20w29a 20w30a 1.16.2-pre1- 1.16.2-pre2
Created Issue:
Dyes in creative inventory are in reverse order
In the creative inventory, every block that is available in 16 colors is ordered as "White, Orange, Magenta ... Green, Red, Black." However, the dye items are listed as "Black, Red, Green ... Magenta, Orange, White."
In the creative inventory, every block that is available in 16 colors is ordered as "White, Orange, Magenta ... Green, Red, Black." However, the dye items are listed as "Black, Red, Green ... Magenta, Orange, White."
In the creative inventory, every block that is available in 16 colors is ordered as "White, Orange, Magenta ... Green, Red, Black." However, the dye items are listed as "Black, Red, Green ... Magenta, Orange, White." This is because the initialization of the dyes in the Item class is reversed.
Confirmed for 18w50a
The bug
In the creative inventory, every block that is available in 16 colors is ordered as "White, Orange, Magenta ... Green, Red, Black." However, the dye items are listed as "Black, Red, Green ... Magenta, Orange, White." This is because the initialization of the dyes in the Item class is reversed.
relates to
Relates to MC-136553
Galaxy_2Alex that reports pertain to inventory problems on a large scale (like walls, slabs and other things) but if you look at MC-136553 that one pertain to a specific order like this report and was fixed also reports like MC-197140 & MC-182708 where given priorities and pertain to the order of the creative inventory and how it should be. Also this is inconsistent with how fish are ordered in the creative inventory. So I think this one at least needs to be reviewed for reopening due the inconsistency.


Confirmed for 1.13.2-pre1.
Confirmed for 1.13.2-pre2.
Confirmed for 18w50a as well; the ink sac, lapis lazuli, bone meal and cocoa beans also should probably be moved out of the list of dyes (since they aren’t dyes anymore)
Confirmed for 19w02a
Confirmed for 19w03a
Confirmed for 19w03b
Confirmed for 19w03c
Comfirmed for 19w04a
Confirmed for 19w04b and 19w05a
Confirmed for 19w06a
Confirmed for 19w07a
Confirmed for 19w09a
Confirmed for 19w11a
Confirmed for 19w11b
Confirmed for 19w12a
Confirmed for 19w12b
Confirmed for 19w13a
Confirmed for 19w13b
Confirmed for 19w14a
Confirmed for 19w14b
Confirmed for 1.14 pre-1
Confirmed for 1.14 pre-2
Confirmed for 1.14 pre-3
Confirmed for 1.14 pre-4
Confirmed for 1.14 pre-5
Confirmed for 1.14
Confirmed for 1.14.1 pre-1
Confirmed for 1.14.1 pre-2
Confirmed for 1.14.1
Affects 20w27a
Although the dyes are sorted between cocoa beans, lapis and ink sacs on the left, and bone meal on the right, the dyes themselves are now in the correct order in 1.16.2-pre2.
Historical note: this has always been the case that the dyes are in the opposite order because they actually are reversed (at least before the flattening they were). They started with black (data value 0) and end with white (data value 15), while all other "16 color" things start with white and end with black. That inconsistency in programming was also the reason dog collars changed from red to orange back in...1.8 snapshots I think it was? Someone made a programming change to dogs and used the wrong color scale. It was eventually switched back to red. But for a few months of snapshots after the collars changed using a dye on the collar would result in the wrong color based on using the "black to white" scale that dyes use rather than the "white to black" scale everything else uses.
Thank god for The Flattening actually making each thing have it's own separate block id or item id.