mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
feat: add 26.1 packet palette, structured components registry, and version routing
Add PacketPalette261 with new packet types (GameRuleValues, LowDiskSpaceWarning, Attack, SetGameRule). Create StructuredComponentsRegistry261 with 6 new components (additional_trade_cost, dye, pig/cow/chicken/cat sound_variant). Update version routing in PacketType18Handler, EntityMetadataPalette, StructuredComponentsHandler, and Program.cs to support protocol 775 (26.1). Made-with: Cursor
This commit is contained in:
parent
e3d3a86ac2
commit
d4014f7c87
8 changed files with 404 additions and 2 deletions
|
|
@ -27,6 +27,7 @@ public abstract class EntityMetadataPalette
|
|||
<= Protocol18Handler.MC_1_21_7_Version => new EntityMetadataPalette1215(), // 1.21.5 - 1.21.8
|
||||
<= Protocol18Handler.MC_1_21_9_Version => new EntityMetadataPalette1219(), // 1.21.9 - 1.21.10
|
||||
<= Protocol18Handler.MC_1_21_11_Version => new EntityMetadataPalette12111(), // 1.21.11
|
||||
<= Protocol18Handler.MC_26_1_Version => new EntityMetadataPalette261(), // 26.1
|
||||
_ => throw new NotImplementedException()
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue