Minecraft-Console-Client/MinecraftClient/Protocol/Handlers
BruceChen 26e8a2f2e6 fix: adapt chat packet format for MC 1.21.5 (protocol 770)
1.21.5 changed LastSeenMessages.Update to include a trailing checksum
byte (0 = skip verification). This affects serverbound chat and signed
chat command packets.

Additionally, the clientbound PlayerChat packet now has a globalIndex
VarInt prepended before the sender UUID.

Without these fixes:
- Sending plain chat messages causes DecoderException on the server
- Receiving player chat messages causes Queue empty crash in MCC

Made-with: Cursor
2026-03-21 01:08:08 +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: adapt chat packet format for MC 1.21.5 (protocol 770) 2026-03-21 01:08:08 +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