Java Edition protocol/Development version
This page documents the changes from release 1.21.8 (protocol 772) to the current release (1.21.10, protocol 773). The stable protocol documentation is currently lagging behind, and the changes documented here will be merged soon, once they are complete.
One who wishes to commandeer the merging of this into the Java Edition protocol pages when an update is made must be sure to respect any changes that may have occurred to the respective packets there.
Contents
| ID | Packet name | Documentation | |
|---|---|---|---|
| Configuration clientbound | |||
| 0x13 | Code of Conduct | Pre | |
| Configuration serverbound | |||
| 0x09 | Accept Code of Conduct | Pre | |
| Play clientbound | |||
| 0x01 | Spawn Entity | Current | Pre |
| 0x1A | Debug Block Value | Pre | |
| 0x1B | Debug Chunk Value | Pre | |
| 0x1C | Debug Entity Value | Pre | |
| 0x1D | Debug Event | Pre | |
| 0x24 | Explosion | Current | Pre |
| 0x27 | Game Test Highlight Position | Pre | |
| 0x47 | Player Rotation | Current | Pre |
| 0x5f | Set Default Spawn Position | Current | Pre |
| 0x63 | Set Entity Velocity | Current | Pre |
| Play serverbound | |||
| 0x16 | Debug Sample Subscription | Current | |
| 0x16 | Debug Subscription Request | Pre | |
Data types
These have already been added to the main article.
Configuration
Clientbound
Code of Conduct
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
protocol:0x13resource: code_of_conduct
|
Play | Client |
Serverbound
Accept Code of Conduct
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
protocol:0x09resource: accept_code_of_conduct
|
Configuration | Server | no fields |
Play
Clientbound
Debug Block Value
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
protocol:0x1Aresource: debug_block_value
|
Play | Client | Location | Position | |
| Update | Debug Subscription Update |
Debug Chunk Value
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
protocol:0x1Bresource: debug_chunk_value
|
Play | Client | Chunk Z | Int | |
| Chunk X | Int | ||||
| Update | Debug Subscription Update |
Note: The order of X and Z is inverted, because the client reads them as one big-endian Long, with Z being the upper 32 bits.
Debug Entity Value
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
protocol:0x1Cresource: debug_entity_value
|
Play | Client | Entity ID | VarInt | |
| Update | Debug Subscription Update |
Debug Event
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
protocol:0x1Dresource: debug_event
|
Play | Client | Event | Debug Subscription Event |
Game Test Highlight Position
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
protocol:0x27resource: game_test_highlight_pos
|
Play | Client | Absolute Location | Position | |
| Relative Location | Position |
Serverbound
Debug Subscription Request
Sent by the client whenever debug subscriptions, used by debug graphs and renderers, are activated or deactivated. The list in the packet replaces the previous set of active subscriptions. Subscriptions not in the list are deactivated.
If the client does not have permission to receive the requested debug information, the subscriptions are nonetheless retained by the server, and it is not necessary to send this packet again if the permissions change.
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
protocol:0x16resource: debug_subscription_request
|
Play | Server | Subscriptions | Prefixed Array of VarInt | List of active debug subscriptions. IDs in the minecraft:debug_subscription registry.
|
Derivative works must be licensed using the same or a compatible license.
Plugin channels
Everything except minecraft:brand removed.