Minecraft-Console-Client/MinecraftClient/Mapping/BlockPalettes
BruceChen df833ae2a8 feat: add palettes and version constants for MC 1.21.2 (protocol 768)
Add item, entity, block, and metadata palettes for Minecraft 1.21.2:
- ItemPalette1212: 1375 items (42 new: pale oak set, colored bundles,
  creaking heart/spawn egg, banner patterns)
- EntityPalette1212: 150 entity types (boats split into per-wood-type
  entries, generic boat/chest_boat removed; added creaking,
  creaking_transient, pale oak boats)
- Palette1212 (blocks): 1084 block types with state IDs generated from
  official 1.21.2 data reports (24 new pale oak blocks, creaking heart,
  pale moss variants)
- EntityMetadataPalette: reuses 1206 (serializers unchanged in 1.21.2)

Updated version infrastructure:
- Protocol18.cs: MC_1_21_2_Version = 768, palette switch routing
- ProtocolHandler.cs: version mapping 1.21.2 <-> 768
- Program.cs: MCHighestVersion bumped to 1.21.2
- ItemType.cs, EntityType.cs, Material.cs: new enum entries

Note: packet palette, structured components, and protocol handler
changes for 1.21.2 are not yet implemented — this commit covers
palette/registry groundwork only.

Made-with: Cursor
2026-03-20 03:02:43 +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