Skip to content

Fix Minecraft 26.3 play packet mappings - #3670

Merged
dmulloy2 merged 1 commit into
dmulloy2:masterfrom
Jpx3:codex/26.3-packet-types
Sep 25, 2026
Merged

dmulloy2 merged 1 commit into
dmulloy2:masterfrom
Jpx3:codex/26.3-packet-types

Conversation

@Jpx3

@Jpx3 Jpx3 commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Minecraft 26.3 adds three clientbound play packets and replaces the serverbound swing packet with punch. Without the updated IDs, the dynamic ADD_TRANSIENT_BLOCK type collides with UNLOAD_CHUNK at 0x25, which can route transient-block packets to chunk-unload listeners and cause a ClassCastException.

This updates the complete affected 26.3 play packet ranges, adds the new packet types and protocol version 777, preserves ARM_ANIMATION as a deprecated API constant, and tags 26.3 mappings so registry tests on older supported servers ignore future-only packets.

Validation:

  • ./gradlew :paper:test --tests com.comphenix.protocol.PacketTypeTest --tests com.comphenix.protocol.injector.packet.PacketRegistryTests
  • ./gradlew test
  • ./gradlew build shadowJar

@dmulloy2
dmulloy2 merged commit 583353e into dmulloy2:master Sep 25, 2026
3 checks passed
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.

2 participants