Difference between revisions of "Bedrock Protocol"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | ==== Login ==== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
− | + | ! Packet ID | |
− | ! | + | ! Bound To |
− | ! | + | ! Field Name |
− | ! | + | ! Field Type |
! Notes | ! Notes | ||
|- | |- | ||
− | + | |rowspan="3"| 0x01 | |
− | | | + | |rowspan="3"| Client |
− | | | + | | Protocol version |
+ | | int | ||
| | | | ||
|- | |- | ||
− | + | | Chain data | |
− | | | + | | JWT String |
− | | | + | | Contains the display name, UUID and XUID |
− | | | ||
|- | |- | ||
− | + | | Skin data | |
− | | | + | | JWT String |
− | | | ||
| | | | ||
+ | |} | ||
+ | |||
+ | ==== Play Status ==== | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Packet ID | ||
+ | ! Bound To | ||
+ | ! Field Name | ||
+ | ! Field Type | ||
+ | ! Notes | ||
|- | |- | ||
− | + | |rowspan="1"| 0x02 | |
− | + | |rowspan="1"| Client | |
− | + | } | |
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==== Server To Client Handshake ==== | |
− | == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 112: | Line 45: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="2"| 0x03 |
− | |rowspan=" | + | |rowspan="2"| Client |
− | | | + | |JWT data |
− | | | + | |JWT String |
| | | | ||
+ | |} | ||
+ | |||
+ | ==== Disconnect ==== | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Packet ID | ||
+ | ! Bound To | ||
+ | ! Field Name | ||
+ | ! Field Type | ||
+ | ! Notes | ||
|- | |- | ||
− | | | + | |rowspan="3"| 0x05 |
− | | | + | |rowspan="3"| Client |
− | | | + | |Disconnect screen visibility |
+ | |boolean | ||
+ | | | ||
|- | |- | ||
− | | | + | |Kick message |
− | | | + | |String |
| | | | ||
|} | |} | ||
− | ==== | + | ==== Resource Packs info ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 136: | Line 81: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x06 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Forced To Accept | ||
+ | | boolean | ||
+ | | | ||
+ | |- | Scripting Enabled | ||
+ | | boolean | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Resource Pack Stack ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 149: | Line 100: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="1"| 0x07 |
− | |rowspan=" | + | |rowspan="1"| Client |
− | + | } | |
− | |||
− | |||
− | |||
− | ==== | + | ==== Text ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 165: | Line 113: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x09 |
− | |rowspan="1"| | + | |rowspan="1"| Client |
− | + | } | |
− | ==== | + | ==== Set Time ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 178: | Line 126: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="2"| 0x0A |
− | |rowspan=" | + | |rowspan="2"| Client |
− | | | + | |Time |
− | | | + | |int |
− | |||
− | |||
− | |||
− | |||
| | | | ||
|} | |} | ||
− | ==== | + | ==== Start Game ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 198: | Line 142: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x0B |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Add Player ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 211: | Line 155: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x0C |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Add Entity ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 224: | Line 168: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x0D |
− | |rowspan="1"| | + | |rowspan="1"| Client |
− | + | } | |
− | ==== | + | ==== Remove Entity ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 237: | Line 181: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x0E |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Unique Entity Id | ||
+ | | long | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Add Item Entity ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 250: | Line 197: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="1"| 0x0F |
− | |rowspan=" | + | |rowspan="1"| Client |
− | + | } | |
− | |||
− | |||
− | |||
− | ==== | + | ==== Take Item Entity ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 266: | Line 210: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x11 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Item Runtime Entity Id | ||
+ | | ulong | ||
+ | | | ||
+ | |- | Runtime Entity Id | ||
+ | | ulong | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Move Entity Absolute ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 279: | Line 229: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x12 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Move Player ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 292: | Line 242: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x13 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Rider Jump ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 305: | Line 255: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x14 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Jump Strength | ||
+ | | int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Update Block ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 318: | Line 271: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x15 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Add Painting ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 331: | Line 284: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |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 | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Tick Sync ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 344: | Line 318: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x17 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Request Timestamp | ||
+ | | long (little endian) | ||
+ | | | ||
+ | |- | Response Timestamp | ||
+ | | long (little endian) | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Level Sound Event (1) ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 357: | Line 337: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x18 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Level Event ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 370: | Line 350: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x19 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Block Event ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 383: | Line 363: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x1A |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | |} | + | | Block Position |
+ | | Position | ||
+ | | | ||
+ | |- | Event Type | ||
+ | | int | ||
+ | | | ||
+ | |- | Event Data | ||
+ | | int | ||
+ | | | ||
+ | |} | ||
− | ==== | + | ==== Entity Event ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 396: | Line 385: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x1B |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Mob Effect ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 409: | Line 398: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x1C |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Update Attributes ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 422: | Line 411: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x1D |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Inventory Transaction ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 435: | Line 424: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x1E |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Mob Equipment ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 448: | Line 437: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x1F |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Mob Armor Equipment ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 461: | Line 450: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x20 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Interact ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 474: | Line 463: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x21 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Block Pick Request ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 487: | Line 476: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |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 | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Entity Pick Request ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 500: | Line 504: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x23 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Runtime Entity Id | ||
+ | | long (little endian) | ||
+ | | | ||
+ | |- | Hotbar Slot | ||
+ | | byte | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Player Action ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 513: | Line 523: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x24 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Entity Fall ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 526: | Line 536: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x25 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Runtime Entity Id | ||
+ | | ulong | ||
+ | | | ||
+ | |- | Fall Distance | ||
+ | | float | ||
+ | | | ||
+ | |- | In Void | ||
+ | | boolean | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Hurt Armor ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 539: | Line 558: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x26 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Health | ||
+ | | int | ||
+ | | | ||
|} | |} | ||
− | + | ==== Set Entity Data ==== | |
− | ==== | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 553: | Line 574: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x27 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== Entity | + | ==== Set Entity Motion ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 566: | Line 587: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x28 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Runtime Entity Id | ||
+ | | ulong | ||
+ | | | ||
+ | |- | Motion X | ||
+ | | float | ||
+ | | | ||
+ | |- | Motion Y | ||
+ | | float | ||
+ | | | ||
+ | |- | Motion Z | ||
+ | | float | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Set Entity Link ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 579: | Line 612: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x29 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Set Health ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 592: | Line 625: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="2"| 0x2A |
− | |rowspan=" | + | |rowspan="2"| Client |
+ | |Health | ||
+ | |int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Set Spawn Position ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 605: | Line 641: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x2B |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Animate ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 618: | Line 654: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x2C |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Respawn ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 631: | Line 667: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x2D |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Position X | ||
+ | | float | ||
+ | | | ||
+ | |- | Position Y | ||
+ | | float | ||
+ | | | ||
+ | |- | Position Z | ||
+ | | float | ||
+ | | | ||
+ | |- | Runtime Entity Id | ||
+ | | ulong | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Container Open ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 644: | Line 692: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x2E |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Window Id | ||
+ | | byte | ||
+ | | | ||
+ | |- | Type | ||
+ | | byte | ||
+ | | | ||
+ | |- | Block Position | ||
+ | | Position | ||
+ | | | ||
+ | |- | Unique Entity Id | ||
+ | | long | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Container Close ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 657: | Line 717: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="1"| 0x2F |
− | |rowspan=" | + | |rowspan="1"| Client |
− | | | + | | Window Id |
− | | | + | | byte |
| | | | ||
|} | |} | ||
− | ==== | + | ==== Player Hotbar ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 673: | Line 733: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x30 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Selected Hotbar Slot | ||
+ | | uint | ||
+ | | | ||
+ | |- | Container Id | ||
+ | | byte | ||
+ | | | ||
+ | |- | Select Hotbar Slot | ||
+ | | boolean | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Inventory Content ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 686: | Line 755: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x31 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Inventory Slot ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 699: | Line 768: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x32 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== Container | + | ==== Container Set Data ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 712: | Line 781: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x33 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Window Id | ||
+ | | byte | ||
+ | | | ||
+ | |- | Property | ||
+ | | int | ||
+ | | | ||
+ | |- | Value | ||
+ | | int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Crafting Data ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 725: | Line 803: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x34 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Crafting Event ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 738: | Line 816: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x35 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Gui Data Pick Item ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 751: | Line 829: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x36 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Adventure Settings ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 764: | Line 842: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x37 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Block Entity Data ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 777: | Line 855: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x38 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Player Input ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 790: | Line 868: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x39 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Level Chunk ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 803: | Line 881: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x3A |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Set Commands Enabled ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 816: | Line 894: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="2"| 0x3B |
− | |rowspan=" | + | |rowspan="2"| Client |
+ | |Commands enabled | ||
+ | |boolean | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Set Difficulty ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 829: | Line 910: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x3C |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | |Difficulty | ||
+ | |int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Change Dimension ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 842: | Line 926: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x3D |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Dimension | ||
+ | | int | ||
+ | | | ||
+ | |- | Position X | ||
+ | | float | ||
+ | | | ||
+ | |- | Position Y | ||
+ | | float | ||
+ | | | ||
+ | |- | Position Z | ||
+ | | float | ||
+ | | | ||
+ | |- | Respawn | ||
+ | | boolean | ||
+ | | | ||
|} | |} | ||
− | ==== Player | + | ==== Set Player Game Type ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 855: | Line 954: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x3E |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | |Game mode | ||
+ | |int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Player List ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 868: | Line 970: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x3F |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Simple Event ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 881: | Line 983: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="1"| 0x40 |
− | |rowspan=" | + | |rowspan="1"| Client |
− | + | } | |
− | |||
− | |||
− | |||
− | ==== | + | ==== Event ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 897: | Line 996: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x41 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | |||
− | |||
− | |||
− | ==== | + | ==== Spawn Experience Orb ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 913: | Line 1,009: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x42 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | |} | + | | Position X |
+ | | float | ||
+ | | | ||
+ | |- | Position Y | ||
+ | | float | ||
+ | | | ||
+ | |- | Position Z | ||
+ | | float | ||
+ | | | ||
+ | |- | Amount | ||
+ | | int | ||
+ | | | ||
+ | |} | ||
− | ==== | + | ==== Map Item Data ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 926: | Line 1,034: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x43 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | |||
− | |||
− | |||
− | ==== | + | ==== Map Info Request ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 942: | Line 1,047: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x44 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Unique Map Id | ||
+ | | long | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Request Chunk Radius ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 955: | Line 1,063: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x45 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | |Chunk radius | ||
+ | |int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Chunk Radius Updated ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 968: | Line 1,079: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x46 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | |Chunk radius | ||
+ | |int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== ItemFrame Drop Item ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 981: | Line 1,095: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x47 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Block Position X | ||
+ | | int | ||
+ | | | ||
+ | |- | Block Position Y | ||
+ | | int | ||
+ | | | ||
+ | |- | Block Position Z | ||
+ | | int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Game Rules Changed ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 994: | Line 1,117: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x48 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Camera ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,007: | Line 1,130: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x49 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Camera Unique Entity Id | ||
+ | | long | ||
+ | | | ||
+ | |- | Player Unique Entity Id | ||
+ | | long | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Boss Event ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,020: | Line 1,149: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x4A |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | + | ||
− | + | ==== Show Credits ==== | |
− | |||
− | |||
− | ==== | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 1,036: | Line 1,162: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x4B |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | |||
− | |||
− | |||
− | ==== | + | ==== Available Commands ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,052: | Line 1,175: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x4C |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Command Request ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,065: | Line 1,188: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x4D |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== CommandBlock Update ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,078: | Line 1,201: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x4E |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Command Output ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,091: | Line 1,214: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x4F |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Update Trade ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,104: | Line 1,227: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x50 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Update Equip ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,117: | Line 1,240: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x51 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Resource Pack Data Info ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,130: | Line 1,253: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x52 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Resource Pack Chunk Data ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,143: | Line 1,266: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x53 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Resource Pack Chunk Request ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,156: | Line 1,279: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x54 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Transfer ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,169: | Line 1,292: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="2"| 0x55 |
− | |rowspan=" | + | |rowspan="2"| Client |
− | | | + | |Address |
− | + | |String | |
− | + | | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | |Port |
− | | | + | |int |
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Play Sound ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,195: | Line 1,312: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="4"| 0x56 |
− | |rowspan=" | + | |rowspan="4"| Client |
− | |} | + | |Sound name |
+ | |String | ||
+ | | | ||
+ | |- | ||
+ | |Sound position | ||
+ | |Position | ||
+ | | | ||
+ | |- | ||
+ | |Volume | ||
+ | |float | ||
+ | | | ||
+ | |- | ||
+ | |Pitch | ||
+ | |float | ||
+ | | | ||
+ | |} | ||
− | ==== | + | ==== Stop Sound ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,208: | Line 1,340: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x57 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Sound Name | ||
+ | | String | ||
+ | | | ||
+ | |- | Stopping All Sound | ||
+ | | boolean | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Set Title ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,221: | Line 1,359: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x58 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Add Behavior Tree ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,234: | Line 1,372: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="1"| 0x59 |
− | |rowspan=" | + | |rowspan="1"| Client |
− | | | + | | Behavior Tree Json |
− | |String | + | | String |
− | |||
− | |||
− | |||
− | |||
| | | | ||
|} | |} | ||
− | ==== | + | ==== Structure Block Update ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,254: | Line 1,388: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan=" | + | |rowspan="1"| 0x5A |
− | |rowspan=" | + | |rowspan="1"| Client |
− | + | } | |
− | + | ||
− | + | ==== Show Store Offer ==== | |
+ | |||
+ | {| class="wikitable" | ||
+ | ! Packet ID | ||
+ | ! Bound To | ||
+ | ! Field Name | ||
+ | ! Field Type | ||
+ | ! Notes | ||
|- | |- | ||
− | | | + | |rowspan="1"| 0x5B |
− | + | |rowspan="1"| Client | |
− | | | + | | Offer Id |
− | + | | String | |
− | | | ||
− | | | ||
| | | | ||
− | |- | + | |- | Shown To All |
− | + | | boolean | |
− | | | ||
| | | | ||
|} | |} | ||
− | ==== | + | ==== Purchase Receipt ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,282: | Line 1,420: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x5C |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Player Skin ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,295: | Line 1,433: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x5D |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Sub Client Login ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,308: | Line 1,446: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x5E |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Automation Client Connect ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,321: | Line 1,459: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x5F |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Address | ||
+ | | String | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Set Last Hurt By ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,334: | Line 1,475: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x60 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Entity Type Id | ||
+ | | int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Book Edit ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,347: | Line 1,491: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x61 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Npc Request ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,360: | Line 1,504: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x62 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Photo Transfer ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,373: | Line 1,517: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x63 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Model Form Request ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,386: | Line 1,530: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x64 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Form Id | ||
+ | | uint | ||
+ | | | ||
+ | |- | Form Data | ||
+ | | String | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Model Form Response ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,399: | Line 1,549: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x65 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Form Id | ||
+ | | uint | ||
+ | | | ||
+ | |- | Form Data | ||
+ | | String | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Server Settings Request ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,412: | Line 1,568: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x66 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Server Settings Response ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,425: | Line 1,581: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x67 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Form Id | ||
+ | | uint | ||
+ | | | ||
+ | |- | Form Data | ||
+ | | String | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Show Profile ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,438: | Line 1,600: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x68 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Xuid | ||
+ | | String | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Set Default Game Type ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,451: | Line 1,616: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x69 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | |Game mode | ||
+ | |int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Remove Objective ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,464: | Line 1,632: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x6A |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Objective Id | ||
+ | | String | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Set Display Objective ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,477: | Line 1,648: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x6B |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Display Slot | ||
+ | | String | ||
+ | | | ||
+ | |- | Objective Id | ||
+ | | String | ||
+ | | | ||
+ | |- | Display Name | ||
+ | | String | ||
+ | | | ||
+ | |- | Criteria | ||
+ | | String | ||
+ | | | ||
+ | |- | Sort Order | ||
+ | | int | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Set Score ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,490: | Line 1,676: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x6C |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Lab Table ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,503: | Line 1,689: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |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 | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Update Block Synced ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,516: | Line 1,717: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x6E |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | |||
− | |||
− | |||
− | ==== | + | ==== Move Entity Delta ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,532: | Line 1,730: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x6F |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== Set | + | ==== Set Scoreboard Identity ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,545: | Line 1,743: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x70 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== Set | + | ==== Set Local Player As Initialized ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,558: | Line 1,756: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x71 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Runtime Entity Id | ||
+ | | ulong | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Update Soft Enum ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,571: | Line 1,772: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x72 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Network Stack Latency ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,584: | Line 1,785: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x73 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Timestamp | ||
+ | | long (little endian) | ||
+ | | | ||
+ | |- | Send Back | ||
+ | | boolean | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Script Custom Event ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,597: | Line 1,804: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x75 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Event Name | ||
+ | | String | ||
+ | | | ||
+ | |- | Data | ||
+ | | String | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Spawn Particle Effect ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,610: | Line 1,823: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |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 | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Available Entity Identifiers ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,623: | Line 1,854: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x77 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Level Sound Event (2) ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,636: | Line 1,867: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x78 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== Network | + | ==== Network Chunk Publisher Update ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,649: | Line 1,880: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x79 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Position X | ||
+ | | int | ||
+ | | | ||
+ | |- | Position Y | ||
+ | | int | ||
+ | | | ||
+ | |- | Position Z | ||
+ | | int | ||
+ | | | ||
+ | |- | Radius | ||
+ | | uint | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Biome Definition List ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,662: | Line 1,905: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x7A |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Level Sound Event (3) ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,675: | Line 1,918: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x7B |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Level Event Generic ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,688: | Line 1,931: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x7C |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Lectern Update ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,701: | Line 1,944: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x7D |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Page | ||
+ | | byte | ||
+ | | | ||
+ | |- | Total Pages | ||
+ | | byte | ||
+ | | | ||
+ | |- | Block Position | ||
+ | | Position | ||
+ | | | ||
+ | |- | Dropping Book | ||
+ | | boolean | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Video Stream Connect ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,714: | Line 1,969: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x7E |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Client Cache Status ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,727: | Line 1,982: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x81 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Supported | ||
+ | | boolean | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== On Screen Texture Animation ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,740: | Line 1,998: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x82 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Map Create Locked Copy ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,753: | Line 2,011: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x83 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Original Map Id | ||
+ | | long | ||
+ | | | ||
+ | |- | New Map Id | ||
+ | | long | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Structure Template Data Export Request ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,766: | Line 2,030: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x84 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Structure Template Data Export Response ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,779: | Line 2,043: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x85 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Update Block Properties ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,792: | Line 2,056: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x86 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Client Cache Blob Status ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,805: | Line 2,069: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x87 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Client Cache Miss Response ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,818: | Line 2,082: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x88 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Education Settings ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,831: | Line 2,095: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x89 |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Settings | ||
+ | | String | ||
+ | | | ||
+ | |- | Unknown 0 | ||
+ | | boolean | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Emote ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,844: | Line 2,114: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x8A |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Runtime Entity Id | ||
+ | | ulong | ||
+ | | | ||
+ | |- | Emote Id | ||
+ | | String | ||
+ | | | ||
+ | |- | Flags | ||
+ | | byte | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Multiplayer Settings ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,857: | Line 2,136: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x8B |
|rowspan="1"| Client | |rowspan="1"| Client | ||
− | + | } | |
− | ==== | + | ==== Settings Command ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,870: | Line 2,149: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | |rowspan="1"| | + | |rowspan="1"| 0x8C |
|rowspan="1"| Client | |rowspan="1"| Client | ||
+ | | Command | ||
+ | | String | ||
+ | | | ||
+ | |- | Suppressing Output | ||
+ | | boolean | ||
+ | | | ||
|} | |} | ||
− | ==== | + | ==== Anvil Damage ==== |
{| class="wikitable" | {| class="wikitable" | ||
Line 1,883: | Line 2,168: | ||
! Notes | ! Notes | ||
|- | |- | ||
− | + | |rowspan="1"| 0x8D | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |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 | ||
− | + | } | |
− | |||
− |
Revision as of 16:30, 7 May 2020
Contents
- 1 Login
- 2 Play Status
- 3 Server To Client Handshake
- 4 Disconnect
- 5 Resource Packs info
- 6 Resource Pack Stack
- 7 Text
- 8 Set Time
- 9 Start Game
- 10 Add Player
- 11 Add Entity
- 12 Remove Entity
- 13 Add Item Entity
- 14 Take Item Entity
- 15 Move Entity Absolute
- 16 Move Player
- 17 Rider Jump
- 18 Update Block
- 19 Add Painting
- 20 Tick Sync
- 21 Level Sound Event (1)
- 22 Level Event
- 23 Block Event
- 24 Entity Event
- 25 Mob Effect
- 26 Update Attributes
- 27 Inventory Transaction
- 28 Mob Equipment
- 29 Mob Armor Equipment
- 30 Interact
- 31 Block Pick Request
- 32 Entity Pick Request
- 33 Player Action
- 34 Entity Fall
- 35 Hurt Armor
- 36 Set Entity Data
- 37 Set Entity Motion
- 38 Set Entity Link
- 39 Set Health
- 40 Set Spawn Position
- 41 Animate
- 42 Respawn
- 43 Container Open
- 44 Container Close
- 45 Player Hotbar
- 46 Inventory Content
- 47 Inventory Slot
- 48 Container Set Data
- 49 Crafting Data
- 50 Crafting Event
- 51 Gui Data Pick Item
- 52 Adventure Settings
- 53 Block Entity Data
- 54 Player Input
- 55 Level Chunk
- 56 Set Commands Enabled
- 57 Set Difficulty
- 58 Change Dimension
- 59 Set Player Game Type
- 60 Player List
- 61 Simple Event
- 62 Event
- 63 Spawn Experience Orb
- 64 Map Item Data
- 65 Map Info Request
- 66 Request Chunk Radius
- 67 Chunk Radius Updated
- 68 ItemFrame Drop Item
- 69 Game Rules Changed
- 70 Camera
- 71 Boss Event
- 72 Show Credits
- 73 Available Commands
- 74 Command Request
- 75 CommandBlock Update
- 76 Command Output
- 77 Update Trade
- 78 Update Equip
- 79 Resource Pack Data Info
- 80 Resource Pack Chunk Data
- 81 Resource Pack Chunk Request
- 82 Transfer
- 83 Play Sound
- 84 Stop Sound
- 85 Set Title
- 86 Add Behavior Tree
- 87 Structure Block Update
- 88 Show Store Offer
- 89 Purchase Receipt
- 90 Player Skin
- 91 Sub Client Login
- 92 Automation Client Connect
- 93 Set Last Hurt By
- 94 Book Edit
- 95 Npc Request
- 96 Photo Transfer
- 97 Model Form Request
- 98 Model Form Response
- 99 Server Settings Request
- 100 Server Settings Response
- 101 Show Profile
- 102 Set Default Game Type
- 103 Remove Objective
- 104 Set Display Objective
- 105 Set Score
- 106 Lab Table
- 107 Update Block Synced
- 108 Move Entity Delta
- 109 Set Scoreboard Identity
- 110 Set Local Player As Initialized
- 111 Update Soft Enum
- 112 Network Stack Latency
- 113 Script Custom Event
- 114 Spawn Particle Effect
- 115 Available Entity Identifiers
- 116 Level Sound Event (2)
- 117 Network Chunk Publisher Update
- 118 Biome Definition List
- 119 Level Sound Event (3)
- 120 Level Event Generic
- 121 Lectern Update
- 122 Video Stream Connect
- 123 Client Cache Status
- 124 On Screen Texture Animation
- 125 Map Create Locked Copy
- 126 Structure Template Data Export Request
- 127 Structure Template Data Export Response
- 128 Update Block Properties
- 129 Client Cache Blob Status
- 130 Client Cache Miss Response
- 131 Education Settings
- 132 Emote
- 133 Multiplayer Settings
- 134 Settings Command
- 135 Anvil Damage
- 136 Completed Using Item
- 137 Network Settings
- 138 Player Auth Input
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
Disconnect
Resource Packs info
Resource Pack Stack
|