Difference between revisions of "Bedrock Protocol"

From wiki.vg
Jump to navigation Jump to search
Line 1: Line 1:
:: '''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.
+
==== Login ====
----
 
 
 
{{Box
 
  |BORDER = #9999FF
 
  |BACKGROUND = #99CCFF
 
  |WIDTH = 100%
 
  |ICON =  
 
  |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.30, protocol 389]]). See [[Protocol]] for the Java Edition Protocol.
 
}}
 
 
 
This is the [https://minecraft.gamepedia.com/Bedrock_Edition Bedrock Edition] Protocol Documentation.
 
The Bedrock Edition Protocol uses [[wikipedia:User Datagram Protocol|UDP]] instead of [[wikipedia:Transmission Control Protocol|TCP]] what is used for the Java Edition.<br>
 
The Bedrock Edition Client uses RakNet as its protocol library.
 
 
 
The default Bedrock Edition port is 19132
 
 
 
== Data types ==
 
  
 
{| class="wikitable"
 
{| class="wikitable"
  |-
+
  ! Packet ID
  !
+
  ! Bound To
  ! Size (bytes)
+
  ! Field Name
  ! Range
+
  ! Field Type
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  ! byte
+
  |rowspan="3"| 0x01
  | 1
+
|rowspan="3"| Client
  | 0 to 255
+
  | Protocol version
 +
  | int
 
  |
 
  |
 
  |-
 
  |-
! boolean
+
  | Chain data
  | 1
+
  | JWT String
  | 0 or 1
+
  | Contains the display name, UUID and XUID
  | A byte treated as boolean, 0 is false but anything greater then that is true
 
 
  |-
 
  |-
! short
+
  | Skin data
  | 2
+
  | JWT String
  | -32768 to 32767
 
 
  |
 
  |
 +
|}
 +
 +
==== Play Status ====
 +
 +
{| class="wikitable"
 +
! Packet ID
 +
! Bound To
 +
! Field Name
 +
! Field Type
 +
! Notes
 
  |-
 
  |-
! ushort
+
  |rowspan="1"| 0x02
| 2
+
  |rowspan="1"| Client
| 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 [[wikipedia:Single-precision_floating-point_format|single-precision 32-bit IEEE 754 floating point number]]
 
|-
 
! double
 
| 8
 
|
 
| A [[wikipedia:Double-precision_floating-point_format|double-precision 64-bit IEEE 754 floating point number]]
 
|-
 
! VarInt
 
| &ge; 1<br>&le; 5
 
| -2147483648 and 2147483647
 
|
 
|-
 
! VarLong
 
| &ge; 1<br>&le; 10
 
| -2^63 and 2^63-1
 
|
 
|-
 
! UUID
 
| 16
 
| A [[wikipedia:Universally_unique_identifier|UUID]]
 
| Encoded as two unsigned 64-bit integers: the most significant 64 bits and the least significant 64 bits
 
|}
 
  
 
+
==== Server To Client Handshake ====
== 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 ====
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 112: Line 45:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="3"| 0x01
+
  |rowspan="2"| 0x03
  |rowspan="3"| Client
+
  |rowspan="2"| Client
  | Protocol version
+
  |JWT data
  | int
+
  |JWT String
 
  |
 
  |
 +
|}
 +
 +
==== Disconnect ====
 +
 +
{| class="wikitable"
 +
! Packet ID
 +
! Bound To
 +
! Field Name
 +
! Field Type
 +
! Notes
 
  |-
 
  |-
  | Chain data
+
  |rowspan="3"| 0x05
  | JWT String
+
|rowspan="3"| Client
  | Contains the display name, UUID and XUID
+
|Disconnect screen visibility
 +
  |boolean
 +
  |
 
  |-
 
  |-
  | Skin data
+
  |Kick message
  | JWT String
+
  |String
 
  |
 
  |
 
  |}
 
  |}
  
==== Play Status ====
+
==== Resource Packs info ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 136: Line 81:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x02
+
  |rowspan="1"| 0x06
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Forced To Accept
 +
| boolean
 +
|
 +
|- | Scripting Enabled
 +
| boolean
 +
|
 
  |}
 
  |}
  
==== Server To Client Handshake ====
+
==== Resource Pack Stack ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 149: Line 100:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="2"| 0x03
+
  |rowspan="1"| 0x07
  |rowspan="2"| Client
+
  |rowspan="1"| Client
|JWT data
+
}
|JWT String
 
|
 
|}
 
  
==== Client To Server Handshake ====
+
==== Text ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 165: Line 113:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x04
+
  |rowspan="1"| 0x09
  |rowspan="1"| Server
+
  |rowspan="1"| Client
|}
+
}
  
==== Disconnect ====
+
==== Set Time ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 178: Line 126:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="3"| 0x05
+
  |rowspan="2"| 0x0A
  |rowspan="3"| Client
+
  |rowspan="2"| Client
  |Disconnect screen visibility
+
  |Time
  |boolean
+
  |int
|
 
|-
 
|Kick message
 
|String
 
 
  |
 
  |
 
  |}
 
  |}
  
==== Resource Packs info ====
+
==== Start Game ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 198: Line 142:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x06
+
  |rowspan="1"| 0x0B
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Resource Pack Stack ====
+
==== Add Player ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 211: Line 155:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x07
+
  |rowspan="1"| 0x0C
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Resource Pack Response ====
+
==== Add Entity ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 224: Line 168:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x08
+
  |rowspan="1"| 0x0D
  |rowspan="1"| Server
+
  |rowspan="1"| Client
|}
+
}
  
==== Text ====
+
==== Remove Entity ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 237: Line 181:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x09
+
  |rowspan="1"| 0x0E
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Unique Entity Id
 +
| long
 +
|
 
  |}
 
  |}
  
==== Set Time ====
+
==== Add Item Entity ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 250: Line 197:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="2"| 0x0A
+
  |rowspan="1"| 0x0F
  |rowspan="2"| Client
+
  |rowspan="1"| Client
|Time
+
}
|int
 
|
 
|}
 
  
==== Start Game ====
+
==== Take Item Entity ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 266: Line 210:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x0B
+
  |rowspan="1"| 0x11
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Item Runtime Entity Id
 +
| ulong
 +
|
 +
|- | Runtime Entity Id
 +
| ulong
 +
|
 
  |}
 
  |}
  
==== Add Player ====
+
==== Move Entity Absolute ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 279: Line 229:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x0C
+
  |rowspan="1"| 0x12
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Add Entity ====
+
==== Move Player ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 292: Line 242:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x0D
+
  |rowspan="1"| 0x13
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Remove Entity ====
+
==== Rider Jump ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 305: Line 255:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x0E
+
  |rowspan="1"| 0x14
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Jump Strength
 +
| int
 +
|
 
  |}
 
  |}
  
==== Add Item Entity ====
+
==== Update Block ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 318: Line 271:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x0F
+
  |rowspan="1"| 0x15
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Take Item Entity ====
+
==== Add Painting ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 331: Line 284:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x11
+
  |rowspan="1"| 0x16
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Unique Entity Id
 +
| long
 +
|
 +
|- | Runtime Entity Id
 +
| ulong
 +
|
 +
|- | Position X
 +
| float
 +
|
 +
|- | Position Y
 +
| float
 +
|
 +
|- | Position Z
 +
| float
 +
|
 +
|- | Direction
 +
| int
 +
|
 +
|- | Name
 +
| String
 +
|
 
  |}
 
  |}
  
==== Move Entity Absolute ====
+
==== Tick Sync ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 344: Line 318:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x12
+
  |rowspan="1"| 0x17
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Request Timestamp
 +
| long (little endian)
 +
|
 +
|- | Response Timestamp
 +
| long (little endian)
 +
|
 
  |}
 
  |}
  
==== Move Player ====
+
==== Level Sound Event (1) ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 357: Line 337:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x13
+
  |rowspan="1"| 0x18
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Rider Jump ====
+
==== Level Event ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 370: Line 350:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x14
+
  |rowspan="1"| 0x19
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Update Block ====
+
==== Block Event ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 383: Line 363:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x15
+
  |rowspan="1"| 0x1A
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
  |}
+
| Block Position
 +
| Position
 +
|
 +
|- | Event Type
 +
| int
 +
|
 +
|- | Event Data
 +
| int
 +
|
 +
  |}
  
==== Add Painting ====
+
==== Entity Event ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 396: Line 385:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x16
+
  |rowspan="1"| 0x1B
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Tick Sync ====
+
==== Mob Effect ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 409: Line 398:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x17
+
  |rowspan="1"| 0x1C
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Level Sound Event (1) ====
+
==== Update Attributes ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 422: Line 411:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x18
+
  |rowspan="1"| 0x1D
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Level Event ====
+
==== Inventory Transaction ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 435: Line 424:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x19
+
  |rowspan="1"| 0x1E
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Block Event ====
+
==== Mob Equipment ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 448: Line 437:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x1A
+
  |rowspan="1"| 0x1F
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Entity Event ====
+
==== Mob Armor Equipment ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 461: Line 450:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x1B
+
  |rowspan="1"| 0x20
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Mob Effect ====
+
==== Interact ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 474: Line 463:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x1C
+
  |rowspan="1"| 0x21
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Update Attributes ====
+
==== Block Pick Request ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 487: Line 476:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x1D
+
  |rowspan="1"| 0x22
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Block Position X
 +
| int
 +
|
 +
|- | Block Position Y
 +
| int
 +
|
 +
|- | Block Position Z
 +
| int
 +
|
 +
|- | Add User Data
 +
| boolean
 +
|
 +
|- | Hotbar Slot
 +
| byte
 +
|
 
  |}
 
  |}
  
==== Inventory Transaction ====
+
==== Entity Pick Request ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 500: Line 504:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x1E
+
  |rowspan="1"| 0x23
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Runtime Entity Id
 +
| long (little endian)
 +
|
 +
|- | Hotbar Slot
 +
| byte
 +
|
 
  |}
 
  |}
  
==== Mob Equipment ====
+
==== Player Action ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 513: Line 523:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x1F
+
  |rowspan="1"| 0x24
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Mob Armor Equipment ====
+
==== Entity Fall ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 526: Line 536:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x20
+
  |rowspan="1"| 0x25
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Runtime Entity Id
 +
| ulong
 +
|
 +
|- | Fall Distance
 +
| float
 +
|
 +
|- | In Void
 +
| boolean
 +
|
 
  |}
 
  |}
  
==== Interact ====
+
==== Hurt Armor ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 539: Line 558:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x21
+
  |rowspan="1"| 0x26
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Health
 +
| int
 +
|
 
  |}
 
  |}
  
 
+
==== Set Entity Data ====
==== Block Pick Request ====
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 553: Line 574:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x22
+
  |rowspan="1"| 0x27
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Entity Pick Request ====
+
==== Set Entity Motion ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 566: Line 587:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x23
+
  |rowspan="1"| 0x28
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Runtime Entity Id
 +
| ulong
 +
|
 +
|- | Motion X
 +
| float
 +
|
 +
|- | Motion Y
 +
| float
 +
|
 +
|- | Motion Z
 +
| float
 +
|
 
  |}
 
  |}
  
==== Player Action ====
+
==== Set Entity Link ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 579: Line 612:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x24
+
  |rowspan="1"| 0x29
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Entity Fall ====
+
==== Set Health ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 592: Line 625:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x25
+
  |rowspan="2"| 0x2A
  |rowspan="1"| Client
+
  |rowspan="2"| Client
 +
|Health
 +
|int
 +
|
 
  |}
 
  |}
  
==== Hurt Armor ====
+
==== Set Spawn Position ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 605: Line 641:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x26
+
  |rowspan="1"| 0x2B
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Set Entity Data ====
+
==== Animate ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 618: Line 654:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x27
+
  |rowspan="1"| 0x2C
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Set Entity Motion ====
+
==== Respawn ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 631: Line 667:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x28
+
  |rowspan="1"| 0x2D
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Position X
 +
| float
 +
|
 +
|- | Position Y
 +
| float
 +
|
 +
|- | Position Z
 +
| float
 +
|
 +
|- | Runtime Entity Id
 +
| ulong
 +
|
 
  |}
 
  |}
  
==== Set Entity Link ====
+
==== Container Open ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 644: Line 692:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x29
+
  |rowspan="1"| 0x2E
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Window Id
 +
| byte
 +
|
 +
|- | Type
 +
| byte
 +
|
 +
|- | Block Position
 +
| Position
 +
|
 +
|- | Unique Entity Id
 +
| long
 +
|
 
  |}
 
  |}
  
==== Set Health ====
+
==== Container Close ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 657: Line 717:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="2"| 0x2A
+
  |rowspan="1"| 0x2F
  |rowspan="2"| Client
+
  |rowspan="1"| Client
  |Health
+
  | Window Id
  |int
+
  | byte
 
  |
 
  |
 
  |}
 
  |}
  
==== Set Spawn Position ====
+
==== Player Hotbar ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 673: Line 733:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x2B
+
  |rowspan="1"| 0x30
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Selected Hotbar Slot
 +
| uint
 +
|
 +
|- | Container Id
 +
| byte
 +
|
 +
|- | Select Hotbar Slot
 +
| boolean
 +
|
 
  |}
 
  |}
  
==== Animate ====
+
==== Inventory Content ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 686: Line 755:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x2C
+
  |rowspan="1"| 0x31
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Respawn ====
+
==== Inventory Slot ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 699: Line 768:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x2D
+
  |rowspan="1"| 0x32
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Container Open ====
+
==== Container Set Data ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 712: Line 781:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x2E
+
  |rowspan="1"| 0x33
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Window Id
 +
| byte
 +
|
 +
|- | Property
 +
| int
 +
|
 +
|- | Value
 +
| int
 +
|
 
  |}
 
  |}
  
==== Container Close ====
+
==== Crafting Data ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 725: Line 803:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x2F
+
  |rowspan="1"| 0x34
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Player Hotbar ====
+
==== Crafting Event ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 738: Line 816:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x30
+
  |rowspan="1"| 0x35
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Inventory Content ====
+
==== Gui Data Pick Item ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 751: Line 829:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x31
+
  |rowspan="1"| 0x36
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Inventory Slot ====
+
==== Adventure Settings ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 764: Line 842:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x32
+
  |rowspan="1"| 0x37
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Container Set Data ====
+
==== Block Entity Data ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 777: Line 855:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x33
+
  |rowspan="1"| 0x38
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Crafting Data ====
+
==== Player Input ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 790: Line 868:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x34
+
  |rowspan="1"| 0x39
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Crafting Event ====
+
==== Level Chunk ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 803: Line 881:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x35
+
  |rowspan="1"| 0x3A
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Gui Data Pick Item ====
+
==== Set Commands Enabled ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 816: Line 894:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x36
+
  |rowspan="2"| 0x3B
  |rowspan="1"| Client
+
  |rowspan="2"| Client
 +
|Commands enabled
 +
|boolean
 +
|
 
  |}
 
  |}
  
==== Adventure Settings ====
+
==== Set Difficulty ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 829: Line 910:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x37
+
  |rowspan="1"| 0x3C
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
|Difficulty
 +
|int
 +
|
 
  |}
 
  |}
  
==== Block Entity Data ====
+
==== Change Dimension ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 842: Line 926:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x38
+
  |rowspan="1"| 0x3D
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Dimension
 +
| int
 +
|
 +
|- | Position X
 +
| float
 +
|
 +
|- | Position Y
 +
| float
 +
|
 +
|- | Position Z
 +
| float
 +
|
 +
|- | Respawn
 +
| boolean
 +
|
 
  |}
 
  |}
  
==== Player Input ====
+
==== Set Player Game Type ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 855: Line 954:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x39
+
  |rowspan="1"| 0x3E
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
|Game mode
 +
|int
 +
|
 
  |}
 
  |}
  
==== Level Chunk ====
+
==== Player List ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 868: Line 970:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x3A
+
  |rowspan="1"| 0x3F
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Set Commands Enabled ====
+
==== Simple Event ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 881: Line 983:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="2"| 0x3B
+
  |rowspan="1"| 0x40
  |rowspan="2"| Client
+
  |rowspan="1"| Client
|Commands enabled
+
}
|boolean
 
|
 
|}
 
  
==== Set Difficulty ====
+
==== Event ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 897: Line 996:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x3C
+
  |rowspan="1"| 0x41
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|Difficulty
+
}
|int
 
|
 
|}
 
  
==== Change Dimension ====
+
==== Spawn Experience Orb ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 913: Line 1,009:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x3D
+
  |rowspan="1"| 0x42
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
  |}
+
| Position X
 +
| float
 +
|
 +
|- | Position Y
 +
| float
 +
|
 +
|- | Position Z
 +
| float
 +
|
 +
|- | Amount
 +
| int
 +
|
 +
  |}
  
==== Set Player Game Type ====
+
==== Map Item Data ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 926: Line 1,034:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x3E
+
  |rowspan="1"| 0x43
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|Game mode
+
}
|int
 
|
 
|}
 
  
==== Player List ====
+
==== Map Info Request ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 942: Line 1,047:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x3F
+
  |rowspan="1"| 0x44
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Unique Map Id
 +
| long
 +
|
 
  |}
 
  |}
  
==== Simple Event ====
+
==== Request Chunk Radius ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 955: Line 1,063:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x40
+
  |rowspan="1"| 0x45
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
|Chunk radius
 +
|int
 +
|
 
  |}
 
  |}
  
==== Event ====
+
==== Chunk Radius Updated ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 968: Line 1,079:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x41
+
  |rowspan="1"| 0x46
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
|Chunk radius
 +
|int
 +
|
 
  |}
 
  |}
  
==== Spawn Experience Orb====
+
==== ItemFrame Drop Item ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 981: Line 1,095:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x42
+
  |rowspan="1"| 0x47
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Block Position X
 +
| int
 +
|
 +
|- | Block Position Y
 +
| int
 +
|
 +
|- | Block Position Z
 +
| int
 +
|
 
  |}
 
  |}
  
==== Map Item Data ====
+
==== Game Rules Changed ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 994: Line 1,117:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x43
+
  |rowspan="1"| 0x48
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Map Info Request ====
+
==== Camera ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,007: Line 1,130:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x44
+
  |rowspan="1"| 0x49
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Camera Unique Entity Id
 +
| long
 +
|
 +
|- | Player Unique Entity Id
 +
| long
 +
|
 
  |}
 
  |}
  
==== Request Chunk Radius ====
+
==== Boss Event ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,020: Line 1,149:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x45
+
  |rowspan="1"| 0x4A
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|Chunk radius
+
}
|int
+
 
|
+
==== Show Credits ====
|}
 
 
 
==== Chunk Radius Updated ====
 
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,036: Line 1,162:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x46
+
  |rowspan="1"| 0x4B
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|Chunk radius
+
}
|int
 
|
 
|}
 
  
==== ItemFrame Drop Item ====
+
==== Available Commands ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,052: Line 1,175:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x47
+
  |rowspan="1"| 0x4C
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Game Rules Changed ====
+
==== Command Request ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,065: Line 1,188:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x48
+
  |rowspan="1"| 0x4D
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Camera ====
+
==== CommandBlock Update ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,078: Line 1,201:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x49
+
  |rowspan="1"| 0x4E
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Boss Event ====
+
==== Command Output ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,091: Line 1,214:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x4A
+
  |rowspan="1"| 0x4F
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Show Credits ====
+
==== Update Trade ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,104: Line 1,227:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x4B
+
  |rowspan="1"| 0x50
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Available Commands ====
+
==== Update Equip ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,117: Line 1,240:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x4C
+
  |rowspan="1"| 0x51
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Command Request ====
+
==== Resource Pack Data Info ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,130: Line 1,253:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x4D
+
  |rowspan="1"| 0x52
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== CommandBlock Update====
+
==== Resource Pack Chunk Data ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,143: Line 1,266:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x4E
+
  |rowspan="1"| 0x53
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Command Output ====
+
==== Resource Pack Chunk Request ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,156: Line 1,279:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x4F
+
  |rowspan="1"| 0x54
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Update Trade ====
+
==== Transfer ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,169: Line 1,292:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x50
+
  |rowspan="2"| 0x55
  |rowspan="1"| Client
+
  |rowspan="2"| Client
  |}
+
  |Address
 
+
|String
==== Update Equip ====
+
  |
 
 
{| class="wikitable"
 
  ! Packet ID
 
! Bound To
 
! Field Name
 
! Field Type
 
! Notes
 
 
  |-
 
  |-
  |rowspan="1"| 0x51
+
  |Port
  |rowspan="1"| Client
+
|int
 +
  |
 
  |}
 
  |}
  
==== Resource Pack Data Info ====
+
==== Play Sound ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,195: Line 1,312:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x52
+
  |rowspan="4"| 0x56
  |rowspan="1"| Client
+
  |rowspan="4"| Client
  |}
+
|Sound name
 +
|String
 +
|
 +
|-
 +
|Sound position
 +
|Position
 +
|
 +
|-
 +
|Volume
 +
|float
 +
|
 +
|-
 +
|Pitch
 +
|float
 +
|
 +
  |}
  
==== Resource Pack Chunk Data ====
+
==== Stop Sound ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,208: Line 1,340:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x53
+
  |rowspan="1"| 0x57
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Sound Name
 +
| String
 +
|
 +
|- | Stopping All Sound
 +
| boolean
 +
|
 
  |}
 
  |}
  
==== Resource Pack Chunk Request ====
+
==== Set Title ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,221: Line 1,359:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x54
+
  |rowspan="1"| 0x58
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Transfer ====
+
==== Add Behavior Tree ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,234: Line 1,372:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="2"| 0x55
+
  |rowspan="1"| 0x59
  |rowspan="2"| Client
+
  |rowspan="1"| Client
  |Address
+
  | Behavior Tree Json
  |String
+
  | String
|
 
|-
 
|Port
 
|int
 
 
  |
 
  |
 
  |}
 
  |}
  
==== Play Sound ====
+
==== Structure Block Update ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,254: Line 1,388:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="4"| 0x56
+
  |rowspan="1"| 0x5A
  |rowspan="4"| Client
+
  |rowspan="1"| Client
  |Sound name
+
}
  |String
+
 
  |
+
==== Show Store Offer ====
 +
 
 +
{| class="wikitable"
 +
! Packet ID
 +
! Bound To
 +
  ! Field Name
 +
  ! Field Type
 +
  ! Notes
 
  |-
 
  |-
  |Sound position
+
  |rowspan="1"| 0x5B
|Position
+
  |rowspan="1"| Client
  |
+
  | Offer Id
|-
+
  | String
  |Volume
 
  |float
 
 
  |
 
  |
  |-
+
  |- | Shown To All
|Pitch
+
  | boolean
  |float
 
 
  |
 
  |
 
  |}
 
  |}
  
==== Stop Sound ====
+
==== Purchase Receipt ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,282: Line 1,420:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x57
+
  |rowspan="1"| 0x5C
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Set Title ====
+
==== Player Skin ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,295: Line 1,433:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x58
+
  |rowspan="1"| 0x5D
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Add Behavior Tree ====
+
==== Sub Client Login ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,308: Line 1,446:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x59
+
  |rowspan="1"| 0x5E
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Structure Block Update ====
+
==== Automation Client Connect ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,321: Line 1,459:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x5A
+
  |rowspan="1"| 0x5F
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Address
 +
| String
 +
|
 
  |}
 
  |}
  
==== Show Store Offer ====
+
==== Set Last Hurt By ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,334: Line 1,475:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x5B
+
  |rowspan="1"| 0x60
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Entity Type Id
 +
| int
 +
|
 
  |}
 
  |}
  
==== Purchase Receipt ====
+
==== Book Edit ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,347: Line 1,491:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x5C
+
  |rowspan="1"| 0x61
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Player Skin ====
+
==== Npc Request ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,360: Line 1,504:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x5D
+
  |rowspan="1"| 0x62
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Sub Client Login ====
+
==== Photo Transfer ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,373: Line 1,517:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x5E
+
  |rowspan="1"| 0x63
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Automation Client Connect ====
+
==== Model Form Request ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,386: Line 1,530:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x5F
+
  |rowspan="1"| 0x64
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Form Id
 +
| uint
 +
|
 +
|- | Form Data
 +
| String
 +
|
 
  |}
 
  |}
  
==== Set Last Hurt By ====
+
==== Model Form Response ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,399: Line 1,549:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x60
+
  |rowspan="1"| 0x65
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Form Id
 +
| uint
 +
|
 +
|- | Form Data
 +
| String
 +
|
 
  |}
 
  |}
  
==== Book Edit ====
+
==== Server Settings Request ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,412: Line 1,568:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x61
+
  |rowspan="1"| 0x66
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Npc Request ====
+
==== Server Settings Response ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,425: Line 1,581:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x62
+
  |rowspan="1"| 0x67
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Form Id
 +
| uint
 +
|
 +
|- | Form Data
 +
| String
 +
|
 
  |}
 
  |}
  
==== Photo Transfer ====
+
==== Show Profile ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,438: Line 1,600:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x63
+
  |rowspan="1"| 0x68
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Xuid
 +
| String
 +
|
 
  |}
 
  |}
  
==== Model Form Request ====
+
==== Set Default Game Type ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,451: Line 1,616:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x64
+
  |rowspan="1"| 0x69
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
|Game mode
 +
|int
 +
|
 
  |}
 
  |}
  
==== Model Form Response  ====
+
==== Remove Objective ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,464: Line 1,632:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x65
+
  |rowspan="1"| 0x6A
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Objective Id
 +
| String
 +
|
 
  |}
 
  |}
  
==== Server Settings Request ====
+
==== Set Display Objective ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,477: Line 1,648:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x66
+
  |rowspan="1"| 0x6B
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Display Slot
 +
| String
 +
|
 +
|- | Objective Id
 +
| String
 +
|
 +
|- | Display Name
 +
| String
 +
|
 +
|- | Criteria
 +
| String
 +
|
 +
|- | Sort Order
 +
| int
 +
|
 
  |}
 
  |}
  
==== Server Settings Response ====
+
==== Set Score ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,490: Line 1,676:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x67
+
  |rowspan="1"| 0x6C
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Show Profile ====
+
==== Lab Table ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,503: Line 1,689:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x68
+
  |rowspan="1"| 0x6D
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Unknown Byte 0
 +
| byte
 +
|
 +
|- | Block Entity Position X
 +
| int
 +
|
 +
|- | Block Entity Position Y
 +
| int
 +
|
 +
|- | Block Entity Position Z
 +
| int
 +
|
 +
|- | Reaction Type
 +
| byte
 +
|
 
  |}
 
  |}
  
==== Set Default Game Type ====
+
==== Update Block Synced ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,516: Line 1,717:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x69
+
  |rowspan="1"| 0x6E
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|Game mode
+
}
|int
 
|
 
|}
 
  
==== Remove Objective ====
+
==== Move Entity Delta ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,532: Line 1,730:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x6A
+
  |rowspan="1"| 0x6F
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Set Display Objective ====
+
==== Set Scoreboard Identity ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,545: Line 1,743:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x6B
+
  |rowspan="1"| 0x70
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Set Score ====
+
==== Set Local Player As Initialized ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,558: Line 1,756:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x6C
+
  |rowspan="1"| 0x71
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Runtime Entity Id
 +
| ulong
 +
|
 
  |}
 
  |}
  
==== Lab Table ====
+
==== Update Soft Enum ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,571: Line 1,772:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x6D
+
  |rowspan="1"| 0x72
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Update Block Synced ====
+
==== Network Stack Latency ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,584: Line 1,785:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x6E
+
  |rowspan="1"| 0x73
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Timestamp
 +
| long (little endian)
 +
|
 +
|- | Send Back
 +
| boolean
 +
|
 
  |}
 
  |}
  
==== Move Entity Delta ====
+
==== Script Custom Event ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,597: Line 1,804:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x6F
+
  |rowspan="1"| 0x75
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Event Name
 +
| String
 +
|
 +
|- | Data
 +
| String
 +
|
 
  |}
 
  |}
  
==== Set Scoreboard Identity ====
+
==== Spawn Particle Effect ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,610: Line 1,823:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x70
+
  |rowspan="1"| 0x76
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Dimension Id
 +
| byte
 +
|
 +
|- | Unique Entity Id
 +
| long
 +
|
 +
|- | Position X
 +
| float
 +
|
 +
|- | Position Y
 +
| float
 +
|
 +
|- | Position Z
 +
| float
 +
|
 +
|- | Identifier
 +
| String
 +
|
 
  |}
 
  |}
  
==== Set Local Player As Initialized ====
+
==== Available Entity Identifiers ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,623: Line 1,854:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x71
+
  |rowspan="1"| 0x77
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Update Soft Enum ====
+
==== Level Sound Event (2) ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,636: Line 1,867:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x72
+
  |rowspan="1"| 0x78
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Network Stack Latency ====
+
==== Network Chunk Publisher Update ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,649: Line 1,880:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x73
+
  |rowspan="1"| 0x79
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Position X
 +
| int
 +
|
 +
|- | Position Y
 +
| int
 +
|
 +
|- | Position Z
 +
| int
 +
|
 +
|- | Radius
 +
| uint
 +
|
 
  |}
 
  |}
  
==== Script Custom Event ====
+
==== Biome Definition List ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,662: Line 1,905:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x75
+
  |rowspan="1"| 0x7A
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Spawn Particle Effect ====
+
==== Level Sound Event (3) ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,675: Line 1,918:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x76
+
  |rowspan="1"| 0x7B
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Available Entity Identifiers ====
+
==== Level Event Generic ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,688: Line 1,931:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x77
+
  |rowspan="1"| 0x7C
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Level Sound Event (2) ====
+
==== Lectern Update ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,701: Line 1,944:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x78
+
  |rowspan="1"| 0x7D
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Page
 +
| byte
 +
|
 +
|- | Total Pages
 +
| byte
 +
|
 +
|- | Block Position
 +
| Position
 +
|
 +
|- | Dropping Book
 +
| boolean
 +
|
 
  |}
 
  |}
  
==== Network Chunk Publisher Update ====
+
==== Video Stream Connect ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,714: Line 1,969:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x79
+
  |rowspan="1"| 0x7E
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Biome Definition List ====
+
==== Client Cache Status ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,727: Line 1,982:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x7A
+
  |rowspan="1"| 0x81
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Supported
 +
| boolean
 +
|
 
  |}
 
  |}
  
==== Level Sound Event (3) ====
+
==== On Screen Texture Animation ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,740: Line 1,998:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x7B
+
  |rowspan="1"| 0x82
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Level Event Generic ====
+
==== Map Create Locked Copy ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,753: Line 2,011:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x7C
+
  |rowspan="1"| 0x83
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Original Map Id
 +
| long
 +
|
 +
|- | New Map Id
 +
| long
 +
|
 
  |}
 
  |}
  
==== Lectern Update ====
+
==== Structure Template Data Export Request ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,766: Line 2,030:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x7D
+
  |rowspan="1"| 0x84
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Video Stream Connect ====
+
==== Structure Template Data Export Response ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,779: Line 2,043:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x7E
+
  |rowspan="1"| 0x85
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Client Cache Status ====
+
==== Update Block Properties ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,792: Line 2,056:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x81
+
  |rowspan="1"| 0x86
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== On Screen Texture Animation ====
+
==== Client Cache Blob Status ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,805: Line 2,069:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x82
+
  |rowspan="1"| 0x87
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Map Create Locked Copy ====
+
==== Client Cache Miss Response ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,818: Line 2,082:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x83
+
  |rowspan="1"| 0x88
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Structure Template Data Export Request ====
+
==== Education Settings ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,831: Line 2,095:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x84
+
  |rowspan="1"| 0x89
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Settings
 +
| String
 +
|
 +
|- | Unknown 0
 +
| boolean
 +
|
 
  |}
 
  |}
  
==== Structure Template Data Export Response ====
+
==== Emote ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,844: Line 2,114:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x85
+
  |rowspan="1"| 0x8A
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Runtime Entity Id
 +
| ulong
 +
|
 +
|- | Emote Id
 +
| String
 +
|
 +
|- | Flags
 +
| byte
 +
|
 
  |}
 
  |}
  
==== Update Block Properties ====
+
==== Multiplayer Settings ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,857: Line 2,136:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x86
+
  |rowspan="1"| 0x8B
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
==== Client Cache Blob Status====
+
==== Settings Command ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,870: Line 2,149:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
  |rowspan="1"| 0x87
+
  |rowspan="1"| 0x8C
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Command
 +
| String
 +
|
 +
|- | Suppressing Output
 +
| boolean
 +
|
 
  |}
 
  |}
  
==== Client Cache Miss Response ====
+
==== Anvil Damage ====
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 1,883: Line 2,168:
 
  ! Notes
 
  ! Notes
 
  |-
 
  |-
|rowspan="1"| 0x88
+
  |rowspan="1"| 0x8D
|rowspan="1"| Client
 
|}
 
 
 
==== Education Settings ====
 
 
 
{| class="wikitable"
 
! Packet ID
 
! Bound To
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
|rowspan="1"| 0x89
 
|rowspan="1"| Client
 
|}
 
 
 
==== Emote ====
 
 
 
{| class="wikitable"
 
! Packet ID
 
! Bound To
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
|rowspan="1"| 0x8A
 
|rowspan="1"| Client
 
|}
 
 
 
==== Multiplayer Settings ====
 
 
 
{| class="wikitable"
 
! Packet ID
 
! Bound To
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
|rowspan="1"| 0x8B
 
|rowspan="1"| Client
 
|}
 
 
 
==== Settings Command ====
 
 
 
{| class="wikitable"
 
! Packet ID
 
! Bound To
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
|rowspan="1"| 0x8C
 
|rowspan="1"| Client
 
|}
 
 
 
==== Anvil Damage ====
 
 
 
{| class="wikitable"
 
! Packet ID
 
! Bound To
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
  |rowspan="1"| 0x8D
 
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
 +
| Damage
 +
| byte
 +
|
 +
|- | Position
 +
| Position
 +
|
 
  |}
 
  |}
  
Line 1,963: Line 2,189:
 
  |rowspan="1"| 0x8E
 
  |rowspan="1"| 0x8E
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
 
==== Network Settings ====
 
==== Network Settings ====
Line 1,976: Line 2,202:
 
  |rowspan="1"| 0x8F
 
  |rowspan="1"| 0x8F
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
  
 
==== Player Auth Input ====
 
==== Player Auth Input ====
Line 1,989: Line 2,215:
 
  |rowspan="1"| 0x90
 
  |rowspan="1"| 0x90
 
  |rowspan="1"| Client
 
  |rowspan="1"| Client
|}
+
}
 
 
[[Category:Bedrock Minecraft]]
 

Revision as of 16:30, 7 May 2020

Contents

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

}

Server To Client Handshake

Packet ID Bound To Field Name Field Type Notes
0x03 Client JWT data JWT String

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
boolean

Resource Pack Stack

Packet ID Bound To Field Name Field Type Notes
0x07 Client

}

Text

Packet ID Bound To Field Name Field Type Notes
0x09 Client

}

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
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
ulong
float
float
float
int
String

Tick Sync

Packet ID Bound To Field Name Field Type Notes
0x17 Client Request Timestamp long (little endian)
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
int
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
int
int
boolean
byte

Entity Pick Request

Packet ID Bound To Field Name Field Type Notes
0x23 Client Runtime Entity Id long (little endian)
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
float
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
float
float
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
float
float
ulong

Container Open

Packet ID Bound To Field Name Field Type Notes
0x2E Client Window Id byte
byte
Position
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
byte
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
int
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
float
float
float
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
float
float
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
int
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
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
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
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
String

Model Form Response

Packet ID Bound To Field Name Field Type Notes
0x65 Client Form Id uint
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
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
String
String
String
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
int
int
int
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)
boolean

Script Custom Event

Packet ID Bound To Field Name Field Type Notes
0x75 Client Event Name String
String

Spawn Particle Effect

Packet ID Bound To Field Name Field Type Notes
0x76 Client Dimension Id byte
long
float
float
float
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
int
int
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
byte
Position
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
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
boolean

Emote

Packet ID Bound To Field Name Field Type Notes
0x8A Client Runtime Entity Id ulong
String
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
boolean

Anvil Damage

Packet ID Bound To Field Name Field Type Notes
0x8D Client Damage byte
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

}