Minecraft 26.3 Packets

All 260 Minecraft 26.3 packets across 9 state/direction chains: ids, wire fields, stream codecs, handlers and full source from the decompiled client.

260 packets9 chains564 wire fieldsMojang mappings

How the modern protocol works

Minecraft 26.3 has no static packet table. Every connection state builds its protocol at class-init time with ProtocolInfoBuilder: each addPacket(PacketType, StreamCodec) call appends one entry, and the wire id of a packet is simply its index in that list (ProtocolInfoBuilder.buildDetails().listPackets exposes exactly this). Packet names are registry strings like "accept_teleportation"; the same packet class can appear in several states (e.g. keep-alive exists in configuration and play).

Modern packets are immutable records (or final classes) with a StreamCodec constant that both reads and writes the payload. The old readPacketData/writePacketData pair is gone. Each state also has two listener interfaces, one per direction, with a handle* method per packet.

Protocol chains

1Handshaking ServerboundClientIntention 2Status ServerboundServerboundStatusRequest, ServerboundPingRequest 2Status ClientboundClientboundStatusResponse, ClientboundPongResponse 5Login ServerboundServerboundHello, ServerboundKey, ServerboundCustomQueryAnswer, ServerboundLoginAcknowledged, ServerboundCookieResponse 6Login ClientboundClientboundLoginDisconnect, ClientboundHello, ClientboundLoginFinished, ClientboundLoginCompression, ClientboundCustomQuery, ClientboundCookieRequest 10Configuration ServerboundServerboundClientInformation, ServerboundCookieResponse, ServerboundCustomPayload, ServerboundFinishConfiguration, ServerboundKeepAlive, ServerboundPong, ServerboundResourcePack, ServerboundSelectKnownPacks, ServerboundCustomClickAction, ServerboundAcceptCodeOfConduct 21Configuration ClientboundClientboundCookieRequest, ClientboundDisconnect, ClientboundDisconnect, ClientboundFinishConfiguration, ClientboundKeepAlive, ClientboundPing, ClientboundResetChat, ClientboundRegistryData, ClientboundResourcePackPop, ClientboundResourcePackPush, … 69Play ServerboundServerboundAcceptTeleportation, ServerboundAttack, ServerboundBlockEntityTagQuery, ServerboundSelectBundleItem, ServerboundChangeDifficulty, ServerboundChangeGameMode, ServerboundChatAck, ServerboundChatCommand, ServerboundChatCommandSigned, ServerboundChat, … 144Play ClientboundBundleDelimiter, ClientboundAddEntity, ClientboundAnimate, ClientboundAwardStats, ClientboundBlockChangedAck, ClientboundBlockDestruction, ClientboundBlockEntityData, ClientboundBlockEvent, ClientboundBlockUpdate, ClientboundBossEvent, …

Handshaking Serverbound (1)

Play Serverbound (69)

Play Clientbound (144)