Skip to content

Namespace Void.Minecraft.Nbt

Namespaces

Void.Minecraft.Nbt.Snbt

Void.Minecraft.Nbt.Tags

Classes

ArrayTag<T>

Base class for NBT tags that contain a fixed-size array of numeric types.

BoolTag

A tag that contains a single 8-bit integer value.

BufferedTagWriter

Provides a object that writes to an internal buffer instead of a object, which then can be retrieved as an array of bytes or written directly to a stream. This is especially convenient when creating packets to be sent over a network, where the size of the packet must be pre-determined before sending.

ByteArrayTag

A tag whose value is a contiguous sequence of 8-bit integers.

ByteTag

A tag that contains a single 8-bit integer value.

CompoundTag

Top-level tag that acts as a container for other named tags.

TagBuilder.Context

Represents the context of a single “level” of depth into a AST.

DoubleTag

A tag that contains a single IEEE-754 double-precision floating point number.

EndTag

Represents the end of .

FloatTag

A tag that contains a single IEEE-754 single-precision floating point number.

IntArrayTag

A tag whose value is a contiguous sequence of 32-bit integers.

IntTag

A tag that contains a single 32-bit integer value.

ListTag

Represents a collection of a tags.

LongArrayTag

A tag whose value is a contiguous sequence of 64-bit integers.

LongTag

A tag that contains a single 64-bit integer value.

NbtFile

Provides static convenience methods for working with NBT-formatted files, including both reading and writing.

NbtReader

NbtTag<T>

NbtTag

NumberExtensions

Contains extension methods dealing with endianness of numeric types.

NumericTag<T>

Abstract base class for types that contain a single numeric value.

ShortTag

A tag that contains a single 16-bit integer value.

StringTag

A tag the contains a UTF-8 string.

Tag

Abstract base class that all NBT tags inherit from.

TagBuilder

Provides a mechanism for easily building a tree of NBT objects by handling the intermediate step of creating tags, allowing the direct adding of their equivalent values.

All methods return the instance itself, allowing for easily chaining calls to build a document.

TagEventArgs

Arguments supplied with tag-related events.

TagHandledEventArgs

Arguments supplied when an event that can be handled by an event subscriber.

TagIO

Abstract base class for the and classes, providing shared functionality.

TagReader

Provides methods for reading NBT data from a stream.

TagWriter

Provides methods for writing NBT tags to a stream.

VarInt

Provides static methods for reading and writing variable-length integers that are up to 5 bytes from both streams and buffers.

VarLong

Provides static methods for reading and writing variable-length integers that are up to 10 bytes from both streams and buffers.

Enums

CompressionType

Describes compression formats supported by the NBT specification.

FormatOptions

Describes the specification to use for reading/writing.

NbtFormatOptions

NbtTagType

TagType

Strongly-typed numerical constants that are prefixed to tags to denote their type.

Delegates

TagReaderCallback<T>

Handler for events used with the class.