Pre-release protocol
This page documents the changes from the last stable Minecraft release (currently 1.12, protocol 335) to the current pre-release (currently 1.12.1-pre1, protocol 338). Note that this page contains bleeding-edge information that may not be completely or correctly documented.
One who wishes to commandeer the merging of this into Protocol when an update is made must be sure to respect any changes that may have occurred to the respective packets there.
Contents
Data types
No changes so far.
Packets
ID | Packet name | Documentation | |
---|---|---|---|
Handshaking serverbound | |||
0x00 | Handshake | Current | Pre |
Play clientbound | |||
0x2B | Unknown (clientbound) | Pre | |
Player Abilities (clientbound) | Current | (unchanged) | |
Combat Event | Current | (unchanged) | |
Player List Item | Current | (unchanged) | |
Player Position And Look (clientbound) | Current | (unchanged) | |
Use Bed | Current | (unchanged) | |
Unlock Recipes | Current | (unchanged) | |
Destroy Entities | Current | (unchanged) | |
Remove Entity Effect | Current | (unchanged) | |
Resource Pack Send | Current | (unchanged) | |
Respawn | Current | (unchanged) | |
Entity Head Look | Current | (unchanged) | |
Select Advancement Tab | Current | (unchanged) | |
World Border | Current | (unchanged) | |
Camera | Current | (unchanged) | |
Held Item Change (clientbound) | Current | (unchanged) | |
Display Scoreboard | Current | (unchanged) | |
Entity Metadata | Current | (unchanged) | |
Attach Entity | Current | (unchanged) | |
Entity Velocity | Current | (unchanged) | |
Entity Equipment | Current | (unchanged) | |
Set Experience | Current | (unchanged) | |
Update Health | Current | (unchanged) | |
Scoreboard Objective | Current | (unchanged) | |
Set Passengers | Current | (unchanged) | |
Teams | Current | (unchanged) | |
Update Score | Current | (unchanged) | |
Spawn Position | Current | (unchanged) | |
Time Update | Current | (unchanged) | |
Title | Current | (unchanged) | |
Sound Effect | Current | (unchanged) | |
Player List Header And Footer | Current | (unchanged) | |
Collect Item | Current | (unchanged) | |
Entity Teleport | Current | (unchanged) | |
Advancements | Current | (unchanged) | |
Entity Properties | Current | (unchanged) | |
Entity Effect | Current | (unchanged) | |
Play serverbound | |||
0x01 | Prepare Crafting Grid | Current | |
Tab-Complete (serverbound) | Current | (unchanged) | |
Chat Message (serverbound) | Current | (unchanged) | |
Client Status | Current | (unchanged) | |
Client Settings | Current | (unchanged) | |
Confirm Transaction (serverbound) | Current | (unchanged) | |
Enchant Item | Current | (unchanged) | |
Click Window | Current | (unchanged) | |
Close Window (serverbound) | Current | (unchanged) | |
Plugin Message (serverbound) | Current | (unchanged) | |
Use Entity | Current | (unchanged) | |
Keep Alive (serverbound) | Current | (unchanged) | |
Player | Current | (unchanged) | |
Player Position | Current | (unchanged) | |
Player Position And Look (serverbound) | Current | (unchanged) | |
Player Look | Current | (unchanged) | |
Vehicle Move (serverbound) | Current | (unchanged) | |
Steer Boat | Current | (unchanged) | |
0x12 | Unknown (serverbound) | Pre |
New/modified data types
No changes so far.
Block Actions
No changes so far.
Play
Clientbound
Unknown (clientbound)
Response to the serverbound packet, with the same recipe ID. Appears to be used to notify the UI.
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x2B | Play | Client | Window ID | Byte | |
Recipe | VarInt | A recipe ID |
Serverbound
Unknown (serverbound)
A replacement for Prepare Crafting Grid. It appears to behave more or less the same, but the client does not specify where to move the items.
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x12 | Play | Server | Window ID | Byte | |
Recipe | VarInt | A recipe ID | |||
Make all | Boolean | Affects the amount of items processed; true if shift is down when clicked |
Handshaking
Clientbound
No changes so far.
Serverbound
Handshake
This causes the server to switch into the target state.
Packet ID | State | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|---|
0x00 | Handshaking | Server | Protocol Version | VarInt | See protocol version numbers (currently |
Server Address | String | Hostname or IP, e.g. localhost or 127.0.0.1, that was used to connect. The Notchian server does not use this information. | |||
Server Port | Unsigned Short | Default is 25565. The Notchian server does not use this information. | |||
Next State | VarInt Enum | 1 for status, 2 for login |
Status
Clientbound
No changes so far.
Serverbound
No changes so far.
Login
Clientbound
No changes so far.
Serverbound
No changes so far.