Difference between revisions of "Bedrock Protocol"
Jump to navigation
Jump to search
(Add some auto-generated data (from the NukkitX protocol)) |
(Add documentation for text packet, resource pack, and play status) |
||
Line 8: | Line 8: | ||
|ICON = | |ICON = | ||
|HEADING = Heads up! | |HEADING = Heads up! | ||
− | |CONTENT = This article is about the protocol for the latest '''stable''' release of Minecraft '''Bedrock Edition''' ([[Bedrock Protocol version numbers|1.14. | + | |CONTENT = This article is about the protocol for the latest '''stable''' release of Minecraft '''Bedrock Edition''' ([[Bedrock Protocol version numbers|1.14.60, protocol 390]]). See [[Protocol]] for the Java Edition Protocol. |
}} | }} | ||
Line 138: | Line 138: | ||
|rowspan="1"| 0x02 | |rowspan="1"| 0x02 | ||
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Status | ||
+ | | int | ||
+ | | The current status of the client. | ||
|} | |} | ||
+ | |||
+ | The values for each status are as follows: | ||
+ | * 0: Login success | ||
+ | * 1: Failed client | ||
+ | * 2: Failed server | ||
+ | * 3 Player spawn | ||
+ | * 4 Failed invalid Tenant | ||
+ | * 5: Failed Vanilla Edu. | ||
+ | * 6: Failed Edu. Vanilla | ||
+ | * 7: Failed server full | ||
==== Server To Client Handshake ==== | ==== Server To Client Handshake ==== | ||
Line 201: | Line 214: | ||
|rowspan="2"| 0x06 | |rowspan="2"| 0x06 | ||
|rowspan="2"| Client | |rowspan="2"| Client | ||
− | | Forced | + | | Forced to Accept |
| boolean | | boolean | ||
− | | | + | | If the resource pack requires the client accept it. |
|- | |- | ||
| Scripting Enabled | | Scripting Enabled | ||
| boolean | | boolean | ||
− | | | + | | If scripting is enabled. |
|} | |} | ||
Line 213: | Line 226: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | + | ! Packet ID | |
− | + | ! Bound To | |
− | + | ! colspan="2" | Field Name | |
− | + | ! colspan="2" | Field Type | |
− | + | ! Notes | |
− | + | |- | |
− | + | | rowspan="11" | 0x07 | |
− | + | | rowspan="11" | Client | |
− | + | | colspan="2" | Forced to Accept | |
+ | | colspan="2" | boolean | ||
+ | | If the resource pack must be accepted for the player to join the server. | ||
+ | |- | ||
+ | ! Resource Pack Entry | ||
+ | ! Field Name | ||
+ | ! colspan="2" | | ||
+ | ! | ||
+ | |- | ||
+ | | rowspan="3" | Array | ||
+ | | Pack ID | ||
+ | | colspan="2" | String | ||
+ | | The ID of the resource pack. | ||
+ | |- | ||
+ | | Pack Version | ||
+ | | colspan="2" | String | ||
+ | | The version of the resource pack. | ||
+ | |- | ||
+ | | Subpack Name | ||
+ | | colspan="2" | String | ||
+ | | The subpack name of the resource pack. | ||
+ | |- | ||
+ | ! Behavior Pack Entry | ||
+ | ! Field Name | ||
+ | ! colspan="2" | | ||
+ | ! | ||
+ | |- | ||
+ | | rowspan="3" | Array | ||
+ | | Pack ID | ||
+ | | colspan="2" | String | ||
+ | | The ID of the resource pack. | ||
+ | |- | ||
+ | | Pack Version | ||
+ | | colspan="2" | String | ||
+ | | The version of the resource pack. | ||
+ | |- | ||
+ | | Subpack Name | ||
+ | | colspan="2" | String | ||
+ | | The subpack name of the resource pack. | ||
+ | |- | ||
+ | | colspan="2" | Experimental | ||
+ | | colspan="2" | boolean | ||
+ | | If the sent resource and behavior packs are experimental. | ||
+ | |- | ||
+ | | colspan="2" | Game Version | ||
+ | | colspan="2" | String | ||
+ | | The version of the game the sent resource and behavior packs were made for. | ||
+ | |} | ||
Line 227: | Line 287: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | + | ! Packet ID | |
− | + | ! Bound To | |
− | + | ! Field Name | |
− | + | ! Field Type | |
− | + | ! Notes | |
− | + | |- | |
− | + | | rowspan="3" | 0x08 | |
− | + | | rowspan="3" | Server | |
− | + | | Status | |
+ | | byte | ||
+ | | The status of the response. | ||
+ | |- | ||
+ | | Pack IDs Size | ||
+ | | Little Endian short | ||
+ | | The amount of pack IDs included in this packet. | ||
+ | |- | ||
+ | | Pack IDs | ||
+ | | Array | ||
+ | | An array of all the Pack IDs. | ||
+ | |} | ||
+ | |||
+ | The values for each status are as follows: | ||
+ | * 0: None | ||
+ | * 1: Refused | ||
+ | * 2: Send packs | ||
+ | * 3: Have all packs | ||
+ | * 4: Completed | ||
==== Text ==== | ==== Text ==== | ||
{| class="wikitable" | {| class="wikitable" | ||
− | + | ! Packet ID | |
− | + | ! Bound To | |
− | + | ! colspan="2" | Field Name | |
− | + | ! Field Type | |
− | ! | + | ! Notes |
+ | |- | ||
+ | | rowspan="13" | 0x09 | ||
+ | | rowspan="13" | Server & Client | ||
+ | | colspan="2" | Type | ||
+ | | byte | ||
+ | | The type of chat message sent. | ||
+ | |- | ||
+ | | colspan="2" | Needs Translation | ||
+ | | boolean | ||
+ | | If the message sent is a translation key and needs to be translated. | ||
+ | |- | ||
+ | ! Chat Type ID | ||
+ | ! Text | ||
+ | ! | ||
+ | ! Derived from above; values sent here change depending on that. | ||
+ | |- | ||
+ | | rowspan="1" | 0, 1, or 2 | ||
+ | | rowspan="1" | Source Name | ||
+ | | rowspan="1" | String | ||
+ | | rowspan="1" | The name of the source. | ||
+ | |- | ||
+ | |- | ||
+ | |- | ||
+ | | rowspan="1" | 3, 4, or 5 | ||
+ | | rowspan="1" | Message | ||
+ | | rowspan="1" | String | ||
+ | | rowspan="1" | The message sent with the packet. | ||
+ | |- | ||
+ | |- | ||
+ | |- | ||
+ | |- | ||
+ | | rowspan="2" | 6, 7, or 8 | ||
+ | | Message | ||
+ | | String | ||
+ | | The message sent with the packet | ||
+ | |- | ||
+ | | Parameters | ||
+ | | Array | ||
+ | | The parameters sent with the packet. This usually includes translation parameters or similar types depending on what kind of chat type was sent. | ||
+ | |- | ||
+ | | colspan="2" | XUID | ||
+ | | Optional String | ||
+ | | The XUID of the player who sent this message. | ||
+ | |- | ||
+ | | colspan="2" | Platform Chat ID | ||
+ | | Optional String | ||
+ | | The platform chat ID of the sent message. | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! ID | ||
+ | ! Chat Type | ||
+ | |- | ||
+ | | 0 | ||
+ | | Chat | ||
+ | |- | ||
+ | | 1 | ||
+ | | Whisper | ||
+ | |- | ||
+ | | 2 | ||
+ | | Announcement | ||
+ | |- | ||
+ | | 3 | ||
+ | | Raw | ||
+ | |- | ||
+ | | 4 | ||
+ | | Tip | ||
+ | |- | ||
+ | | 5 | ||
+ | | System | ||
+ | |- | ||
+ | | 6 | ||
+ | | Translation | ||
+ | |- | ||
+ | | 7 | ||
+ | | Popup | ||
|- | |- | ||
− | | | + | | 8 |
− | | | + | | Jukebox Popup |
|} | |} | ||
Revision as of 18:50, 7 May 2020
- Remember that this page is a WIP, it is not even added to the Main Page. Come back later to see a more complete page.
Heads up!
|
This is the Bedrock Edition Protocol Documentation.
The Bedrock Edition Protocol uses UDP instead of TCP what is used for the Java Edition.
The Bedrock Edition Client uses RakNet as its protocol library.
The default Bedrock Edition port is 19132
Contents
- 1 Data types
- 2 Packet Format
- 3 Login process
- 4 Packets
- 4.1 Login
- 4.2 Play Status
- 4.3 Server To Client Handshake
- 4.4 Client To Server Handshake
- 4.5 Disconnect
- 4.6 Resource Packs info
- 4.7 Resource Pack Stack
- 4.8 Resource Pack Response
- 4.9 Text
- 4.10 Set Time
- 4.11 Start Game
- 4.12 Add Player
- 4.13 Add Entity
- 4.14 Remove Entity
- 4.15 Add Item Entity
- 4.16 Take Item Entity
- 4.17 Move Entity Absolute
- 4.18 Move Player
- 4.19 Rider Jump
- 4.20 Update Block
- 4.21 Add Painting
- 4.22 Tick Sync
- 4.23 Level Sound Event (1)
- 4.24 Level Event
- 4.25 Block Event
- 4.26 Entity Event
- 4.27 Mob Effect
- 4.28 Update Attributes
- 4.29 Inventory Transaction
- 4.30 Mob Equipment
- 4.31 Mob Armor Equipment
- 4.32 Interact
- 4.33 Block Pick Request
- 4.34 Entity Pick Request
- 4.35 Player Action
- 4.36 Entity Fall
- 4.37 Hurt Armor
- 4.38 Set Entity Data
- 4.39 Set Entity Motion
- 4.40 Set Entity Link
- 4.41 Set Health
- 4.42 Set Spawn Position
- 4.43 Animate
- 4.44 Respawn
- 4.45 Container Open
- 4.46 Container Close
- 4.47 Player Hotbar
- 4.48 Inventory Content
- 4.49 Inventory Slot
- 4.50 Container Set Data
- 4.51 Crafting Data
- 4.52 Crafting Event
- 4.53 Gui Data Pick Item
- 4.54 Adventure Settings
- 4.55 Block Entity Data
- 4.56 Player Input
- 4.57 Level Chunk
- 4.58 Set Commands Enabled
- 4.59 Set Difficulty
- 4.60 Change Dimension
- 4.61 Set Player Game Type
- 4.62 Player List
- 4.63 Simple Event
- 4.64 Event
- 4.65 Spawn Experience Orb
- 4.66 Map Item Data
- 4.67 Map Info Request
- 4.68 Request Chunk Radius
- 4.69 Chunk Radius Updated
- 4.70 ItemFrame Drop Item
- 4.71 Game Rules Changed
- 4.72 Camera
- 4.73 Boss Event
- 4.74 Show Credits
- 4.75 Available Commands
- 4.76 Command Request
- 4.77 CommandBlock Update
- 4.78 Command Output
- 4.79 Update Trade
- 4.80 Update Equip
- 4.81 Resource Pack Data Info
- 4.82 Resource Pack Chunk Data
- 4.83 Resource Pack Chunk Request
- 4.84 Transfer
- 4.85 Play Sound
- 4.86 Stop Sound
- 4.87 Set Title
- 4.88 Add Behavior Tree
- 4.89 Structure Block Update
- 4.90 Show Store Offer
- 4.91 Purchase Receipt
- 4.92 Player Skin
- 4.93 Sub Client Login
- 4.94 Automation Client Connect
- 4.95 Set Last Hurt By
- 4.96 Book Edit
- 4.97 Npc Request
- 4.98 Photo Transfer
- 4.99 Model Form Request
- 4.100 Model Form Response
- 4.101 Server Settings Request
- 4.102 Server Settings Response
- 4.103 Show Profile
- 4.104 Set Default Game Type
- 4.105 Remove Objective
- 4.106 Set Display Objective
- 4.107 Set Score
- 4.108 Lab Table
- 4.109 Update Block Synced
- 4.110 Move Entity Delta
- 4.111 Set Scoreboard Identity
- 4.112 Set Local Player As Initialized
- 4.113 Update Soft Enum
- 4.114 Network Stack Latency
- 4.115 Script Custom Event
- 4.116 Spawn Particle Effect
- 4.117 Available Entity Identifiers
- 4.118 Level Sound Event (2)
- 4.119 Network Chunk Publisher Update
- 4.120 Biome Definition List
- 4.121 Level Sound Event (3)
- 4.122 Level Event Generic
- 4.123 Lectern Update
- 4.124 Video Stream Connect
- 4.125 Client Cache Status
- 4.126 On Screen Texture Animation
- 4.127 Map Create Locked Copy
- 4.128 Structure Template Data Export Request
- 4.129 Structure Template Data Export Response
- 4.130 Update Block Properties
- 4.131 Client Cache Blob Status
- 4.132 Client Cache Miss Response
- 4.133 Education Settings
- 4.134 Emote
- 4.135 Multiplayer Settings
- 4.136 Settings Command
- 4.137 Anvil Damage
- 4.138 Completed Using Item
- 4.139 Network Settings
- 4.140 Player Auth Input
Data types
Size (bytes) | Range | Notes | |
---|---|---|---|
byte | 1 | 0 to 255 | |
boolean | 1 | 0 or 1 | A byte treated as boolean, 0 is false but anything greater then that is true |
short | 2 | -32768 to 32767 | |
ushort | 2 | 0 to 65535 | |
int | 4 | -2147483648 to 2147483647 | Signed 32-bit integer |
uint | 4 | 0 to 4294967295 | Unsigned 32-bit integer |
long | 8 | -2^63 to 2^63-1 | Signed 64-bit integer |
ulong | 8 | 2^64-1 | Unsigned 64-bit integer |
float | 4 | A single-precision 32-bit IEEE 754 floating point number | |
double | 8 | A double-precision 64-bit IEEE 754 floating point number | |
VarInt | ≥ 1 ≤ 5 |
-2147483648 and 2147483647 | |
VarLong | ≥ 1 ≤ 10 |
-2^63 and 2^63-1 | |
UUID | 16 | A UUID | Encoded as two unsigned 64-bit integers: the most significant 64 bits and the least significant 64 bits |
Packet Format
Login process
Packets
Please note that some packet ids are missing, so they don't line up. The following packet ids are missing: 0x10, 0x74, 0x7F, 0x80 (16, 116, 127, 128)
Login
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x01 | Client | Protocol version | int | |
Chain data | JWT String | Contains the display name, UUID and XUID | ||
Skin data | JWT String |
Play Status
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x02 | Client | Status | int | The current status of the client. |
The values for each status are as follows:
- 0: Login success
- 1: Failed client
- 2: Failed server
- 3 Player spawn
- 4 Failed invalid Tenant
- 5: Failed Vanilla Edu.
- 6: Failed Edu. Vanilla
- 7: Failed server full
Server To Client Handshake
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x03 | Client | JWT data | JWT String |
Client To Server Handshake
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x04 | Server |
Disconnect
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x05 | Client | Disconnect screen visibility | boolean | |
Kick message | String |
Resource Packs info
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x06 | Client | Forced to Accept | boolean | If the resource pack requires the client accept it. |
Scripting Enabled | boolean | If scripting is enabled. |
Resource Pack Stack
Packet ID | Bound To | Field Name | Field Type | Notes | ||
---|---|---|---|---|---|---|
0x07 | Client | Forced to Accept | boolean | If the resource pack must be accepted for the player to join the server. | ||
Resource Pack Entry | Field Name | |||||
Array | Pack ID | String | The ID of the resource pack. | |||
Pack Version | String | The version of the resource pack. | ||||
Subpack Name | String | The subpack name of the resource pack. | ||||
Behavior Pack Entry | Field Name | |||||
Array | Pack ID | String | The ID of the resource pack. | |||
Pack Version | String | The version of the resource pack. | ||||
Subpack Name | String | The subpack name of the resource pack. | ||||
Experimental | boolean | If the sent resource and behavior packs are experimental. | ||||
Game Version | String | The version of the game the sent resource and behavior packs were made for. |
Resource Pack Response
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x08 | Server | Status | byte | The status of the response. |
Pack IDs Size | Little Endian short | The amount of pack IDs included in this packet. | ||
Pack IDs | Array | An array of all the Pack IDs. |
The values for each status are as follows:
- 0: None
- 1: Refused
- 2: Send packs
- 3: Have all packs
- 4: Completed
Text
Packet ID | Bound To | Field Name | Field Type | Notes | |
---|---|---|---|---|---|
0x09 | Server & Client | Type | byte | The type of chat message sent. | |
Needs Translation | boolean | If the message sent is a translation key and needs to be translated. | |||
Chat Type ID | Text | Derived from above; values sent here change depending on that. | |||
0, 1, or 2 | Source Name | String | The name of the source. | ||
3, 4, or 5 | Message | String | The message sent with the packet. | ||
6, 7, or 8 | Message | String | The message sent with the packet | ||
Parameters | Array | The parameters sent with the packet. This usually includes translation parameters or similar types depending on what kind of chat type was sent. | |||
XUID | Optional String | The XUID of the player who sent this message. | |||
Platform Chat ID | Optional String | The platform chat ID of the sent message. |
ID | Chat Type |
---|---|
0 | Chat |
1 | Whisper |
2 | Announcement |
3 | Raw |
4 | Tip |
5 | System |
6 | Translation |
7 | Popup |
8 | Jukebox Popup |
Set Time
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x0A | Client | Time | int |
Start Game
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x0B | Client |
Add Player
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x0C | Client |
Add Entity
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x0D | Client |
Remove Entity
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x0E | Client | Unique Entity Id | long |
Add Item Entity
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x0F | Client |
Take Item Entity
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x11 | Client | Item Runtime Entity Id | ulong | |
Runtime Entity Id | ulong |
Move Entity Absolute
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x12 | Client |
Move Player
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x13 | Client |
Rider Jump
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x14 | Client | Jump Strength | int |
Update Block
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x15 | Client |
Add Painting
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x16 | Client | Unique Entity Id | long | |
Runtime Entity Id | ulong | |||
Position X | float | |||
Position Y | float | |||
Position Z | float | |||
Direction | int | |||
Name | String |
Tick Sync
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x17 | Client | Request Timestamp | long (little endian) | |
Response Timestamp | long (little endian) |
Level Sound Event (1)
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x18 | Client |
Level Event
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x19 | Client |
Block Event
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x1A | Client | Block Position | Position | |
Event Type | int | |||
Event Data | int |
Entity Event
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x1B | Client |
Mob Effect
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x1C | Client |
Update Attributes
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x1D | Client |
Inventory Transaction
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x1E | Client |
Mob Equipment
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x1F | Client |
Mob Armor Equipment
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x20 | Client |
Interact
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x21 | Client |
Block Pick Request
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x22 | Client | Block Position X | int | |
Block Position Y | int | |||
Block Position Z | int | |||
Add User Data | boolean | |||
Hotbar Slot | byte |
Entity Pick Request
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x23 | Client | Runtime Entity Id | long (little endian) | |
Hotbar Slot | byte |
Player Action
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x24 | Client |
Entity Fall
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x25 | Client | Runtime Entity Id | ulong | |
Fall Distance | float | |||
In Void | boolean |
Hurt Armor
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x26 | Client | Health | int |
Set Entity Data
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x27 | Client |
Set Entity Motion
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x28 | Client | Runtime Entity Id | ulong | |
Motion X | float | |||
Motion Y | float | |||
Motion Z | float |
Set Entity Link
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x29 | Client |
Set Health
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x2A | Client | Health | int |
Set Spawn Position
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x2B | Client |
Animate
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x2C | Client |
Respawn
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x2D | Client | Position X | float | |
Position Y | float | |||
Position Z | float | |||
Runtime Entity Id | ulong |
Container Open
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x2E | Client | Window Id | byte | |
Type | byte | |||
Block Position | Position | |||
Unique Entity Id | long |
Container Close
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x2F | Client | Window Id | byte |
Player Hotbar
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x30 | Client | Selected Hotbar Slot | uint | |
Container Id | byte | |||
Select Hotbar Slot | boolean |
Inventory Content
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x31 | Client |
Inventory Slot
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x32 | Client |
Container Set Data
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x33 | Client | Window Id | byte | |
Property | int | |||
Value | int |
Crafting Data
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x34 | Client |
Crafting Event
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x35 | Client |
Gui Data Pick Item
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x36 | Client |
Adventure Settings
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x37 | Client |
Block Entity Data
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x38 | Client |
Player Input
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x39 | Client |
Level Chunk
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x3A | Client |
Set Commands Enabled
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x3B | Client | Commands enabled | boolean |
Set Difficulty
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x3C | Client | Difficulty | int |
Change Dimension
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x3D | Client | Dimension | int | |
Position X | float | |||
Position Y | float | |||
Position Z | float | |||
Respawn | boolean |
Set Player Game Type
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x3E | Client | Game mode | int |
Player List
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x3F | Client |
Simple Event
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x40 | Client |
Event
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x41 | Client |
Spawn Experience Orb
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x42 | Client | Position X | float | |
Position Y | float | |||
Position Z | float | |||
Amount | int |
Map Item Data
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x43 | Client |
Map Info Request
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x44 | Client | Unique Map Id | long |
Request Chunk Radius
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x45 | Client | Chunk radius | int |
Chunk Radius Updated
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x46 | Client | Chunk radius | int |
ItemFrame Drop Item
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x47 | Client | Block Position X | int | |
Block Position Y | int | |||
Block Position Z | int |
Game Rules Changed
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x48 | Client |
Camera
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x49 | Client | Camera Unique Entity Id | long | |
Player Unique Entity Id | long |
Boss Event
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x4A | Client |
Show Credits
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x4B | Client |
Available Commands
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x4C | Client |
Command Request
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x4D | Client |
CommandBlock Update
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x4E | Client |
Command Output
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x4F | Client |
Update Trade
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x50 | Client |
Update Equip
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x51 | Client |
Resource Pack Data Info
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x52 | Client |
Resource Pack Chunk Data
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x53 | Client |
Resource Pack Chunk Request
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x54 | Client |
Transfer
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x55 | Client | Address | String | |
Port | int |
Play Sound
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x56 | Client | Sound name | String | |
Sound position | Position | |||
Volume | float | |||
Pitch | float |
Stop Sound
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x57 | Client | Sound Name | String | |
Stopping All Sound | boolean |
Set Title
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x58 | Client |
Add Behavior Tree
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x59 | Client | Behavior Tree Json | String |
Structure Block Update
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x5A | Client |
Show Store Offer
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x5B | Client | Offer Id | String | |
Shown To All | boolean |
Purchase Receipt
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x5C | Client |
Player Skin
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x5D | Client |
Sub Client Login
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x5E | Client |
Automation Client Connect
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x5F | Client | Address | String |
Set Last Hurt By
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x60 | Client | Entity Type Id | int |
Book Edit
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x61 | Client |
Npc Request
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x62 | Client |
Photo Transfer
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x63 | Client |
Model Form Request
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x64 | Client | Form Id | uint | |
Form Data | String |
Model Form Response
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x65 | Client | Form Id | uint | |
Form Data | String |
Server Settings Request
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x66 | Client |
Server Settings Response
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x67 | Client | Form Id | uint | |
Form Data | String |
Show Profile
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x68 | Client | Xuid | String |
Set Default Game Type
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x69 | Client | Game mode | int |
Remove Objective
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x6A | Client | Objective Id | String |
Set Display Objective
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x6B | Client | Display Slot | String | |
Objective Id | String | |||
Display Name | String | |||
Criteria | String | |||
Sort Order | int |
Set Score
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x6C | Client |
Lab Table
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x6D | Client | Unknown Byte 0 | byte | |
Block Entity Position X | int | |||
Block Entity Position Y | int | |||
Block Entity Position Z | int | |||
Reaction Type | byte |
Update Block Synced
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x6E | Client |
Move Entity Delta
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x6F | Client |
Set Scoreboard Identity
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x70 | Client |
Set Local Player As Initialized
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x71 | Client | Runtime Entity Id | ulong |
Update Soft Enum
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x72 | Client |
Network Stack Latency
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x73 | Client | Timestamp | long (little endian) | |
Send Back | boolean |
Script Custom Event
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x75 | Client | Event Name | String | |
Data | String |
Spawn Particle Effect
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x76 | Client | Dimension Id | byte | |
Unique Entity Id | long | |||
Position X | float | |||
Position Y | float | |||
Position Z | float | |||
Identifier | String |
Available Entity Identifiers
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x77 | Client |
Level Sound Event (2)
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x78 | Client |
Network Chunk Publisher Update
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x79 | Client | Position X | int | |
Position Y | int | |||
Position Z | int | |||
Radius | uint |
Biome Definition List
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x7A | Client |
Level Sound Event (3)
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x7B | Client |
Level Event Generic
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x7C | Client |
Lectern Update
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x7D | Client | Page | byte | |
Total Pages | byte | |||
Block Position | Position | |||
Dropping Book | boolean |
Video Stream Connect
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x7E | Client |
Client Cache Status
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x81 | Client | Supported | boolean |
On Screen Texture Animation
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x82 | Client |
Map Create Locked Copy
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x83 | Client | Original Map Id | long | |
New Map Id | long |
Structure Template Data Export Request
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x84 | Client |
Structure Template Data Export Response
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x85 | Client |
Update Block Properties
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x86 | Client |
Client Cache Blob Status
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x87 | Client |
Client Cache Miss Response
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x88 | Client |
Education Settings
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x89 | Client | Settings | String | |
Unknown 0 | boolean |
Emote
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x8A | Client | Runtime Entity Id | ulong | |
Emote Id | String | |||
Flags | byte |
Multiplayer Settings
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x8B | Client |
Settings Command
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x8C | Client | Command | String | |
Suppressing Output | boolean |
Anvil Damage
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x8D | Client | Damage | byte | |
Position | Position |
Completed Using Item
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x8E | Client |
Network Settings
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x8F | Client |
Player Auth Input
Packet ID | Bound To | Field Name | Field Type | Notes |
---|---|---|---|---|
0x90 | Client |