Expand description
This crate allows reading and writing minecraft NBT (Named Binary Tag) data
Re-exports§
pub use nbt_value::NbtValue;pub use nbt_value::to_nbt_value;
Modules§
- A module for Datastructs that are important and need Nbtvalue’s
- This is a Module for deserializing
NbtValue’s - This module contains all error related datatypes and their implementations
- This module contains macros needed to work with a [
NbtValue] - This module contains all important functions for nbt values
- This Module contains functions and datatypes that are needed to read NBT data from a byte stream
- This module contains a serde implementation to serialize into NBT data.
- This Module contains all neccessary traits for
NbtValue’s - A module for the different versions that can be used of NBT
- This module contains functions to write NBT as bytes
Macros§
- Converts a list of [
NbtValue]s to a vector of a specified type. - Converts a list of [
NbtValue]s to aResultwith a vector of a specified type or an error. - creates a Compound for data inserted
- Unwraps an
Option<NbtValue>and converts it into a specified type. - Unwraps an
Option<NbtValue>and converts it to a specific type using a method namedas_<type>. - Unwraps an
Option<NbtValue>and converts it to a specific type if the key exists, otherwise returnsNone.
Enums§
- type cast to give the NbtValue type id and undestandable name
Constants§
- The id of the current nbt version