Namespace fNbt
Classes
- InvalidReaderStateException
Exception thrown when an operation is attempted on an NbtReader that cannot recover from a previous parsing error.
- NbtByte
A tag containing a single byte.
- NbtByteArray
A tag containing an array of bytes.
- NbtCodec
Reads and writes single NBT documents ("blobs") with a fixed set of NbtOptions, resolved once at construction. Create one per context and reuse it; instances are immutable and safe to share between threads.
- NbtComparer
Compares tags for equality by type, name, and value. Compound tags are equal when they contain equal sets of tags; list tags when their elements are equal and in the same order. Name comparisons are case-sensitive.
- NbtCompound
A tag containing a collection of other named tags. Children are kept in the order they were added, and stay in it after removals: enumerating, saving, or printing this compound always lists them in insertion order.
- NbtDouble
A tag containing a double-precision floating point number.
- NbtFile
Represents a complete NBT file.
- NbtFlavor
Identifies one of the NBT wire encodings ("flavors"). Immutable; use the static instances.
- NbtFloat
A tag containing a single-precision floating point number.
- NbtFormatException
Exception thrown when a format violation is detected while parsing or serializing an NBT file.
- NbtInt
A tag containing a single signed 32-bit integer.
- NbtIntArray
A tag containing an array of signed 32-bit integers.
- NbtList
A tag containing a list of unnamed tags, all of the same kind.
- NbtLong
A tag containing a single signed 64-bit integer.
- NbtLongArray
A tag containing an array of signed 64-bit integers.
- NbtOptions
Settings for reading and writing NBT: the flavor, validation toggles, and limits. Every consumer snapshots the values at its own construction, so changing an options instance later does not affect objects already created from it. Application-wide defaults live on the static
Default*properties; configure those during startup, before any NBT work.
- NbtReader
Represents a reader that provides fast, non-cached, forward-only access to NBT data. Each instance of NbtReader reads one complete file.
- NbtShort
A tag containing a single signed 16-bit integer.
- NbtString
A tag containing a single string, stored in the flavor's encoding: modified UTF-8 for the Java flavors, standard UTF-8 for the Bedrock flavors.
- NbtTag
Base class for different kinds of named binary tags.
- NbtWriter
An efficient writer for writing NBT data directly to streams. Each instance of NbtWriter writes one complete file. NbtWriter enforces the structural rules of the NBT format, except that it does not check for duplicate tag names within a compound. The flavor's own restrictions, such as its permitted tag types and string ceilings, are enforced only while ValidateOnWrite is on.
Enums
- NbtCompression
Compression method used for loading/saving NBT files.
- NbtTagType
Enumeration of named binary tag types, and their corresponding codes.
Delegates
- TagSelector
Delegate used to skip loading certain tags of an NBT stream/file. The callback should return "true" for any tag that should be read,and "false" for any tag that should be skipped.