Expand description
§Netherite
Netherite is a crate implementing the essential building blocks of the Minecraft protocol.
Like a netherite ingot, it enables you to build your tools by yourself, offering traits and methods for implementing your very own data types and packets.
This is because the Minecraft protocol is always changing, and a fixed, up-to-date implementation is really hard to maintain.
Re-exports§
pub use codec::MinecraftCodec;
pub use encoding::de::DeError;
pub use encoding::de::Deserialize;
pub use encoding::ser::Serialize;
pub use bytes as _bytes_export;
Modules§
- tokio_util codec for serializing and deserializing Minecraft packets
- traits and types for data encoding of Minecraft packets
- structs representing Minecraft packets
- Minecraft VarInt implementation
Macros§
- Asserts that the input data
$data: &[u8]
deserializes into$to: Deserialize
- Asserts that the input type
$data: Serialize
serializes into$to: &[u8]