The ID changes from the 1.18 betas are a great step to parity, but now duplicate item IDs exist.
All items that changed their ID have their old ID still as a valid value, eg record_mellohi
alongside music_disc_mellohi
.
This affects both renamed items and items which got split up (dyes, boats, spawn eggs).
Item | Remnant ID | Note | Fixed in |
---|---|---|---|
Turtle Scute |
|
|
|
Enchanted Apple |
|
|
|
Dark Oak Sign |
|
|
|
Boat |
|
|
|
Lodestone Compass |
|
|
|
Raw Cod |
|
|
|
Tropical Fish |
|
|
|
Cooked Cod |
|
|
|
Dye |
|
|
|
Melon |
| Needs to be done to allow |
|
Glistering Melon |
|
|
|
Spawn Egg |
| Using this ID without a data value gives a broken spawn egg. |
|
Fire Charge |
|
|
|
Empty Map |
|
|
|
Carrot on a Stick |
|
|
|
Nether Star |
|
|
|
Firework Rocket |
|
|
|
Firework Star |
|
|
|
Iron Horse Armor |
|
|
|
Gold Horse Armor |
|
|
|
Diamond Horse Armor |
|
|
|
Leather Horse Armor |
|
|
|
Raw Mutton |
|
|
|
Cooked Mutton |
|
|
|
Popped Chorus Fruit |
|
|
|
Totem of Undying |
|
|
|
Music Disc - 13 |
|
|
|
Music Disc - Cat |
|
|
|
Music Disc - Blocks |
|
|
|
Music Disc - Chrip |
|
|
|
Music Disc - Far |
|
|
|
Music Disc - Mall |
|
|
|
Music Disc - Mellohi |
|
|
|
Music Disc - Stal |
|
|
|
Music Disc - Strad |
|
|
|
Music Disc - Ward |
|
|
|
Music Disc - 11 |
|
|
|
Music Disc - Wait |
|
|
|
Music Disc - Pigstep |
|
|
|
Music Disc - 5 |
| Was added after the other record renames. |
|
Music Disc - Relic |
| Was added after the other record renames. |
|
Banner Pattern |
|
|
|
Name Tag |
|
|
|
Wool |
|
|
|
Fence |
|
|
|
Carpet |
|
|
|
Oak/Spruce/Birch/Jjngle Log |
|
|
|
Acacia/Dark Oak Log |
|
|
|
Coral |
|
|
|
Concrete |
|
|
|
Stained Glass |
|
|
|
Stained Glass Pane |
|
|
|
Concrete Powder |
|
|
|
Colored Terracotta |
|
|
|
Planks |
|
|
|
Stone Variants |
| Only the variants should be removed, not the ID as "Stone" uses (and should use) that as ID. |
|
Hard Stained Glass |
| Education exclusive. |
|
Hard Stained Glass Pane |
| Education exclusive. |
|
Grass Block |
|
|
|
Oak/Spruce/Birch/Jungle Leaves |
|
|
|
Acacia/Dark Oak Leaves |
|
|
|
Double Wooden Slabs |
|
|
|
Wooden Slabs |
|
|
|
These IDs are no longer suggested, but do still work.
Behavior packs and command blocks, already store the version they're made in, which makes them look what the command would do in that version, not the current one. The alliases are not at all needed for backwards compatibility, additionally, this is preventing the full flattening from happening, as a bunch of IDs are changed to another thing in java's flattening. melon: melon slice -> melon block, stone_slab: smooth stone, sandstone, cobblestone, brick, stone brick, quartz and nether brick slab -> actual stone slab, etc. so in order for the full flattening to propperly happen, these legacy IDs need to go, and doing so will NOT break old command contraptions and behavior packs already.
Linked issues
is duplicated by 4
Attachments
Comments 10
@@unknown that’s intended. What’s not is having a block have its legacy ID and current ID listed. Example: Music_disc_mellohi and its legacy was record_mellohi. That legacy should be gone.
No, minecraft:pig is the full namespaced ID, pig is negating the namespace, making it detault to minecraft:
The so-called legacy IDs have to be retained to avoid breaking worlds that might use them in command blocks. You can use either the legacy ID or the new one in a command. For items that use a data value to distinguish them (e.g. "boat:1") you should omit the data value argument when using the new ID (i.e. "spruce_boat").
Since Mojang seems to be moving towards flattening the hierarchy of ID + DataValue, it's probably best if we get used to using the new names (not to mention that they're a lot easier to remember than numeric data values). Note, however, that most blocks and a few items have not yet been assigned new names. I suspect that this is work in progress, and it's probably not necessary to update this report to add more names unless it's actively causing you a problem.
The thing is, behavior packs and command blocks, already store the version they're made in, which makes them look what the command would do in that version, not the current one. The alliases are not at all needed for backwards compatibility, additionally, this is preventing the full flattening from happening, as a bunch of IDs are changed to another thing in java's flattening. melon: melon slice -> melon block, grass: grass block -> tall grass, etc. so in order for the full flattening to propperly happen, these legacy IDs need to go, and doing so will NOT break old command contraptions and behavior packs already.
Considering both this and MCPE-101388 are flattening-related, I'd suggestmarking them as related.
I can confirm.