mojira.dev
MC-62977

Banner data values are in the wrong order

Steps to reproduce

  • Go on F3+H mode

  • Scroll over the white banner, and then the black banner

White (which comes first in the creative inventory and should have a data value of 0) has a data value of 15 and vice-versa for black banners.

Linked issues

Comments 7

Most likely Works As Intended, as the colors usually go from White to Black. We don't know why they did the ID's reversed, but they probably had a reason to do it.

It can't be intended because the creative inventory is sorted in order of numerical id value and then data values, and 15 comes first (which is incorrect) and white comes first (which is correct).
Also I don't think they intentionally reversed the IDs.

They probably intentionally did it to match the other colored items.

Probably as to do something with Ctrl+Pick Block as they keep the data 0 regardless of the flag

ID values are going away before long anyway, and the creative inventory quite obviously doesn't sort by ID or data, given that the banners appear in the same order as the wool, despite having their data values in the reverse order.

if you can name a single other place in the creative inventory where it fails to sort by data value then i will accept your logic and accept that this is works as intended

Enchanted books (ID #403) sort below everything else, including items with higher IDs, such as Redstone Comparators (ID #404). Potions are sorted based on their effect, so their data values are out of order. Splash potions (all in the 16000 range) are interleaved in between the regular potions (all in the 8000 range). Also note that Potion of Healing (#373/8261) is immediately followed by the level II version, (#373/8229), even though the data values are in the reverse order. The same is true for the Splash versions of those two potions, as well as Leaping and Harming.

So while it is generally the case that items are sorted by ID, then data, it's not a rule. It's a coincidence, because items generally are assigned IDs and values in the order they are created, and newer items are generally put at the bottom of the creative sort order. But they can put them in whatever order they want, and those numbers aren't going to be relevant for much longer, because they will be dynamically assigned in the future.

Atom clark

michael

Unconfirmed

Minecraft 14w30a

Retrieved