Minecraft-Console-Client/MinecraftClient/Protocol/Handlers
BruceChen 9af6c643e3 fix: handle 1.21.5 chunk data format changes
In 1.21.5, two wire format changes in level chunk packets:
1. Heightmaps changed from NBT CompoundTag to map<VarInt, long[]> encoding
2. PalettedContainer data arrays no longer have VarInt length prefix
   (uses writeFixedSizeLongArray instead of writeLongArray)

Both changes affect ChunkData (level_chunk_with_light) packet parsing.
Without this fix, MCC crashes with "Queue empty" when processing chunks.

Made-with: Cursor
2026-03-21 00:54:27 +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 feat: add MC 1.21.5 (protocol 770) support 2026-03-21 00:48:27 +08:00
StructuredComponents feat: add MC 1.21.5 (protocol 770) support 2026-03-21 00:48:27 +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 feat: add MC 1.21.5 (protocol 770) support 2026-03-21 00:48:27 +08:00
PacketType18Handler.cs feat: add MC 1.21.5 (protocol 770) support 2026-03-21 00:48:27 +08:00
PacketTypesIn.cs feat: add MC 1.21.5 (protocol 770) support 2026-03-21 00:48:27 +08:00
PacketTypesOut.cs feat: add MC 1.21.5 (protocol 770) support 2026-03-21 00:48:27 +08:00
Protocol16.cs 1.20.6 - Not working yet 2024-06-16 01:19:09 +02:00
Protocol18.cs fix: handle 1.21.5 chunk data format changes 2026-03-21 00:54:27 +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 fix: handle 1.21.5 chunk data format changes 2026-03-21 00:54:27 +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