Repository navigation
1.2.0-RELEASE: 1.21.11 Protocol Support
Minecraft 1.21.11 Protocol Support
This release brings full compatibility with the Minecraft 1.21.11 protocol, fixing issues where button clicks and block interactions were ignored by the server.
Key Updates:
- Sequence Synchronization: Implemented thread-safe sequence tracking to ensure
ServerboundUseItemOnPacketuses the correct sequence index required by the server. - Instant Look-at Calibration: Automatically calculates and sends a 4-parameter
ServerboundMovePlayerRotPacket(onGround, horizontalCollision, yaw, pitch) immediately before interaction to ensure the server validates the player's line of sight. - Strict Action Chain: Optimized packet transmission order to follow the standard
Rotation -> Swing -> UseItemsequence. - API Adaptation: Updated
ServerboundUseItemOnPacketto include theisHitWorldBorderparameter required by 1.21.11. - MovementSync Integration: Leverages
MovementSyncfor precise eye-level coordinate calculations to ensure high-accuracy interaction raycasting.