Minecraft (Bedrock Engine) 137
Other protocols: 141, 150, 160, 201, 261, 274, 282
Compare changes: 141, 150, 160, 201, 261, 274, 282
Jump to: Encoding, Packets, Types, Metadata
Released: September 20th, 2017
Used from version 1.2.0 to 1.2.3
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 |