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