Bedrock Protocol
Jump to navigation
Jump to search
- 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
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 |