Expand description
Common types used across the Minecraft protocol.
Structs§
- Game
Profile - A player’s game profile, as returned by the Mojang session server.
- Profile
Property - A single property in a game profile.
Enums§
- Protocol
Error - Errors that can occur during protocol operations.
Functions§
- read_
properties - Read a game profile’s properties array from the Minecraft protocol format.
- read_
string - Read a Minecraft protocol string (VarInt-prefixed UTF-8).
- read_
string_ max - Read a Minecraft protocol string with a custom maximum length.
- read_
uuid - Read a UUID as two big-endian i64 values (Minecraft format).
- undashed_
uuid - Format a UUID without dashes (Minecraft’s “undashed” format).
- write_
nbt_ text_ component - Write a Minecraft text component encoded as network NBT.
- write_
properties - Write a game profile’s properties array in the Minecraft protocol format.
- write_
string - Write a Minecraft protocol string (VarInt-prefixed UTF-8).
- write_
uuid - Write a UUID as two big-endian i64 values (Minecraft format).