Skip to content

Namespace Void.Minecraft.Nbt.SharpNBT

Namespaces

Void.Minecraft.Nbt.SharpNBT.Events

Void.Minecraft.Nbt.SharpNBT.Snbt

Void.Minecraft.Nbt.SharpNBT.Tags

Classes

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.

TagBuilder.Context

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

NbtFile

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

NumberExtensions

Contains extension methods dealing with endianness of numeric types.

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.

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.