Minecraft-Console-Client/MinecraftClient/Protocol/Handlers
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
..
Forge refactor(ForgeInfo.cs): Remove unused code and edit comments 2024-02-20 22:02:22 +08:00
Packet/s2c Preliminary 1.21 Support 2024-12-06 16:45:48 +01:00
PacketPalettes Preliminary 1.21 Support 2024-12-06 16:45:48 +01:00
StructuredComponents fix: resolve entity tracking, container interaction, and enchantment mapping issues for 1.21 2026-03-20 02:35:52 +08:00
ConfigurationPacketTypesIn.cs Preliminary 1.21 Support 2024-12-06 16:45:48 +01:00
ConfigurationPacketTypesOut.cs 1.20.6 - Not working yet 2024-06-16 01:19:09 +02:00
DataTypes.cs fix: add EntityMetadataPalette1206 for correct 1.20.6+ entity metadata parsing 2026-03-20 01:43:48 +08:00
PacketType18Handler.cs Preliminary 1.21 Support 2024-12-06 16:45:48 +01:00
PacketTypesIn.cs Preliminary 1.21 Support 2024-12-06 16:45:48 +01:00
PacketTypesOut.cs 1.20.6 - Not working yet 2024-06-16 01:19:09 +02:00
Protocol16.cs 1.20.6 - Not working yet 2024-06-16 01:19:09 +02:00
Protocol18.cs feat: add palettes and version constants for MC 1.21.2 (protocol 768) 2026-03-20 03:02:43 +08:00
Protocol18Forge.cs fix(Protocol18Forge.cs): Version bigger or equal 1.18 is FML3 2024-02-20 22:23:46 +08:00
Protocol18Terrain.cs 1.19.3 PlayerRemove & Explosion packet 2023-01-14 15:55:40 +08:00
SocketWrapper.cs First Version of Structured Components 2024-09-01 20:42:39 +02:00
ZlibUtils.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00