Minecraft-Console-Client/MinecraftClient/Mapping/BlockPalettes
BruceChen aebfcd93e4 fix: regenerate item/block palettes from server registry data for 1.21.9
MC 1.21.9 changed how some items and blocks are registered — 24 block
items (copper bars/chains/lanterns variants, potted azalea renames) and
additional blocks are now registered outside of Items.java/Blocks.java
field declarations, making the previous source-field-order-based palette
generation produce incorrect protocol IDs.

Regenerated ItemPalette1219.cs using server registries.json (1488 items,
up from 1464) and Palette1219.cs using blocks.json (1166 blocks with
correct state IDs). Added 37 new enum values to ItemType.cs (35 new +
DryShortGrass/DryTallGrass for backward compat) and 9 new values to
Material.cs.

Verified all item/block/entity identification against a 1.21.10 server.

Made-with: Cursor
2026-03-21 14:43:56 +08:00
..
BlockPalette.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
BlockPalette120.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
BlockPaletteGenerator.cs Fix xxx.Parse 2022-10-04 11:53:07 +08:00
Palette112.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
Palette113.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
Palette114.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
Palette115.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
Palette116.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
Palette117.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
Palette119.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
Palette1193.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
Palette1194.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
Palette1204.cs 1.20.4: Update entity, item and block palette 2024-02-11 18:13:48 +08:00
Palette1206.cs Inventory, Terrain and Entity handling 2024-07-02 11:08:46 +02:00
Palette1212.cs feat: add palettes and version constants for MC 1.21.2 (protocol 768) 2026-03-20 03:02:43 +08:00
Palette1214.cs feat: add MC 1.21.4 (protocol 769) support 2026-03-20 23:51:56 +08:00
Palette1215.cs feat: add MC 1.21.5 (protocol 770) support 2026-03-21 00:48:27 +08:00
Palette1216.cs feat: add palettes and version routing for MC 1.21.6 2026-03-21 11:44:12 +08:00
Palette1219.cs fix: regenerate item/block palettes from server registry data for 1.21.9 2026-03-21 14:43:56 +08:00