This website is unofficial. For the official Minestom documentation, go to minestom.net.
Skip to content

Serialization

Minestom provides two systems for serializing data:

  • Codecs: Map-like serialization (JSON, NBT, etc.). Use it for configuration files or data persistence.
  • Network Buffers: Binary serialization designed for the Minecraft protocol. Use it when your storage needs to be compact, like block data or packets sent over the network.