Package-level declarations
Types
Builder of the Nbt instance provided by Nbt { ... }
factory function.
Base class for custom serializers that allows manipulating an abstract NBT representation of the class before serialization or deserialization.
Builder of the StringifiedNbt instance provided by StringifiedNbt { ... }
factory function.
Properties
Convenience method to get this element as an NbtByteArray
Convenience method to get this element as an NbtCompound
Convenience method to get this element as an NbtIntArray
Convenience method to get this element as an NbtLongArray
Functions
Build an NbtCompound suitable for being written to an NBT file.
Build an NbtList suitable for being written to an NBT file.
Decode NBT from a Source.
Decode NBT from an InputStream.
Peek in the byteArray and detect what NbtCompression is used.
Peek in the source and detect what NbtCompression is used.
Peek in the stream and detect what NbtCompression is used.
Encode NBT to a Sink.
Encode NBT to an OutputStream.
Creates an instance of Nbt configured from the optionally given Nbt instance and adjusted with builderAction.
Creates an instance of StringifiedNbt configured from the optionally given StringifiedNbt instance and adjusted with builderAction.