Skip to content

Add Minecraft 1.21.5 (protocol 770) version constant#268

Open
RobertoVillegas wants to merge 1 commit intoExceptionflug:masterfrom
RobertoVillegas:feat/1.21.5-support
Open

Add Minecraft 1.21.5 (protocol 770) version constant#268
RobertoVillegas wants to merge 1 commit intoExceptionflug:masterfrom
RobertoVillegas:feat/1.21.5-support

Conversation

@RobertoVillegas
Copy link

Summary

  • Adds MINECRAFT_1_21_5 = 770 protocol version constant
  • Updates MINECRAFT_LATEST to point to MINECRAFT_1_21_5

This is the companion PR to protocolize-data#XX which updates the packet ID mappings.

Addresses #267.

Context

Minecraft 1.21.5 (protocol 770) introduced packet ID shifts:

  • Clientbound: All IDs after ordinal 2 shifted -1 due to ADD_EXPERIENCE_ORB packet removal (merged into ADD_ENTITY)
  • Serverbound: USE_ITEM_ON and USE_ITEM shifted +2 due to new PLAYER_LOADED and BUNDLE_ITEM_SELECTED packets

Disclosure

This contribution was researched and authored with the assistance of Claude (AI by Anthropic). All packet IDs were verified against ViaVersion's authoritative ClientboundPackets1_21_5 and ServerboundPackets1_21_5 enum definitions.

🤖 Generated with Claude Code

Add MINECRAFT_1_21_5 = 770 constant and update MINECRAFT_LATEST.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant