feat: add MC 1.21.9/1.21.10 (protocol 773) version constants and enum values

Register protocol 773 for Minecraft 1.21.9 and 1.21.10 (which share the
same protocol as a hotfix release). Update MCHighestVersion to 1.21.10.

Add 49 new item types (copper tools/armor, shelves, copper chests,
copper golem statue variants, oxidized lightning rods, iron chain, etc.),
2 new entity types (CopperGolem, Mannequin), 38 new block materials,
3 new entity metadata serializer types (CopperGolemState,
WeatheringCopperState, ResolvableProfile), and 6 new packet types
(DebugBlockValue, DebugChunkValue, DebugEntityValue, DebugEvent,
GameTestHighlightPos, CodeOfConduct, AcceptCodeOfConduct).

Chain item/block renamed to IronChain in 1.21.9; old enum values
retained for backward compatibility with older palettes.

Made-with: Cursor
This commit is contained in:
BruceChen 2026-03-21 14:04:42 +08:00
parent 5e8d715358
commit 2af0409d00
10 changed files with 153 additions and 13 deletions

View file

@ -98,11 +98,23 @@ public enum EntityMetaDataType
/// </summary>
ArmadilloState,
/// <summary>
/// VarInt (1.21.9+)
/// </summary>
CopperGolemState,
/// <summary>
/// VarInt (1.21.9+)
/// </summary>
WeatheringCopperState,
/// <summary>
/// Float x3
/// </summary>
Vector3,
/// <summary>
/// Float x4
/// </summary>
Quaternion
Quaternion,
/// <summary>
/// Either&lt;GameProfile, Partial&gt; + PlayerSkin.Patch (1.21.9+)
/// </summary>
ResolvableProfile
}