Minecraft (Bedrock Engine) 150
Other protocols: 137, 141, 160, 201, 261, 274, 282
Compare changes: 137, 141, 160, 201, 261, 274, 282
Jump to: Encoding, Packets, Types, Metadata
Released: December 6th, 2017
Used in version 1.2.6
Protocol used in Minecraft: Pocket Edition and variants. The network part of the protocol is managed by RakNet.
⚠ Every packet is encoded as id (byte), padding (2 bytes) and body ⚠
Login sequence
- The client sends a Login packet with the details of its game and its account
- The server always replies with a PlayerStatus
- If status field in the packet sent was different from ok the connection is closed
Spawning sequence
- The server sends a StartGame packet with the world’s informations
- The server sends zero or more FullChunkData with the chunk’s blocks and tiles
- The server sends the player’s inventory using ContainerSetContent
- The server sends the world’s textures through ResourcePacksInfo (the textures may be empty)
- The client replies with ResourcePackClientResponse telling the server that the textures have been loaded
- The server sends a PlayStatus packet set to spawned
- The client spawns
Everything written in the documentation has been tested on sel-server. The types and the packets without documentation haven’t been tested yet or it’s not clear what their real purpose in the game is.
Encoding
Endianness: little endian
Ids: varuint
Array’s length: varuint
Padding: 2 bytes
Packets
Section | Packets |
---|---|
Play | 104 |