Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addAllTags(List<Tag<?>>) - Method in class de.pauleff.core.Collection_Tag
-
Adds multiple child tags to this collection with batch type validation.
- addBuiltTag(Tag<?>) - Method in class de.pauleff.builder.ListBuilder
-
Adds a pre-built tag to this list.
- addByte(String, byte) - Method in interface de.pauleff.api.ICompoundTag
-
Adds a byte tag with the given name and value.
- addByte(String, byte) - Method in class de.pauleff.builder.CompoundBuilder
-
Stores a byte value with the specified name.
- addByte(String, byte) - Method in class de.pauleff.builder.ListBuilder
-
Adds a byte element to the list.
- addByte(String, byte) - Method in class de.pauleff.core.Tag_Compound
-
Adds a byte tag and returns this compound for method chaining.
- addCompound(String) - Method in interface de.pauleff.api.IListTag
-
Adds an empty compound element to this list.
- addCompound(String) - Method in class de.pauleff.builder.CompoundBuilder
-
Creates a nested compound within this one and switches to nested-building mode.
- addCompound(String) - Method in class de.pauleff.builder.ListBuilder
-
Begins building a compound element within this list.
- addCompound(String) - Method in class de.pauleff.core.Tag_List
-
Adds a compound element to this list with fluent chaining.
- addDouble(String, double) - Method in interface de.pauleff.api.ICompoundTag
-
Adds a double-precision floating point tag.
- addDouble(String, double) - Method in interface de.pauleff.api.IListTag
-
Adds a double-precision floating point element to this list.
- addDouble(String, double) - Method in class de.pauleff.builder.CompoundBuilder
-
Stores a double-precision value with the specified name.
- addDouble(String, double) - Method in class de.pauleff.builder.ListBuilder
-
Adds a double element to the list.
- addDouble(String, double) - Method in class de.pauleff.core.Tag_Compound
-
Adds a double-precision tag and returns this compound for method chaining.
- addDouble(String, double) - Method in class de.pauleff.core.Tag_List
-
Adds a double-precision element to this list with fluent chaining.
- addFloat(String, float) - Method in interface de.pauleff.api.ICompoundTag
-
Adds a single-precision floating point tag.
- addFloat(String, float) - Method in class de.pauleff.builder.CompoundBuilder
-
Stores a single-precision float with the specified name.
- addFloat(String, float) - Method in class de.pauleff.builder.ListBuilder
-
Adds a float element to the list.
- addFloat(String, float) - Method in class de.pauleff.core.Tag_Compound
-
Adds a single-precision float tag and returns this compound for method chaining.
- addInt(String, int) - Method in interface de.pauleff.api.ICompoundTag
-
Adds an integer tag with the given name and value.
- addInt(String, int) - Method in interface de.pauleff.api.IListTag
-
Adds an integer element to this list.
- addInt(String, int) - Method in class de.pauleff.builder.CompoundBuilder
-
Stores an integer value with the specified name.
- addInt(String, int) - Method in class de.pauleff.builder.ListBuilder
-
Adds an integer element to the list.
- addInt(String, int) - Method in class de.pauleff.core.Tag_Compound
-
Adds an integer tag and returns this compound for method chaining.
- addInt(String, int) - Method in class de.pauleff.core.Tag_List
-
Adds an integer element to this list with fluent chaining.
- addList(String, NBTTags) - Method in class de.pauleff.builder.CompoundBuilder
-
Creates a new list within this compound and switches to list-building mode.
- addList(String, NBTTags) - Method in class de.pauleff.builder.ListBuilder
-
Begins building a nested list element within this list.
- addLong(String, long) - Method in interface de.pauleff.api.ICompoundTag
-
Adds a long integer tag.
- addLong(String, long) - Method in class de.pauleff.builder.CompoundBuilder
-
Stores a long integer with the specified name.
- addLong(String, long) - Method in class de.pauleff.builder.ListBuilder
-
Adds a long element to the list.
- addLong(String, long) - Method in class de.pauleff.core.Tag_Compound
-
Adds a long integer tag and returns this compound for method chaining.
- addShort(String, short) - Method in interface de.pauleff.api.ICompoundTag
-
Adds a short integer tag.
- addShort(String, short) - Method in class de.pauleff.builder.CompoundBuilder
-
Stores a short integer with the specified name.
- addShort(String, short) - Method in class de.pauleff.builder.ListBuilder
-
Adds a short element to the list.
- addShort(String, short) - Method in class de.pauleff.core.Tag_Compound
-
Adds a short integer tag and returns this compound for method chaining.
- addString(String, String) - Method in interface de.pauleff.api.ICompoundTag
-
Adds a string tag with the given name and value.
- addString(String, String) - Method in interface de.pauleff.api.IListTag
-
Adds a string element to this list.
- addString(String, String) - Method in class de.pauleff.builder.CompoundBuilder
-
Stores a string value with the specified name.
- addString(String, String) - Method in class de.pauleff.builder.ListBuilder
-
Adds a string element to the list.
- addString(String, String) - Method in class de.pauleff.core.Tag_Compound
-
Adds a string tag and returns this compound for method chaining.
- addString(String, String) - Method in class de.pauleff.core.Tag_List
-
Adds a string element to this list with fluent chaining.
- addTag(ITag<?>) - Method in class de.pauleff.core.Collection_Tag
-
Adds a child tag to this collection with type validation.
- addTag(Tag<?>) - Method in class de.pauleff.builder.CompoundBuilder
-
Incorporates an existing tag into this compound.
- applyOperation(Consumer<ITag<T>>) - Method in interface de.pauleff.api.ITag
-
Applies a custom transformation or inspection operation to this tag.
- applyOperation(Consumer<ITag<T>>) - Method in class de.pauleff.core.Tag
-
Applies a custom transformation or operation to this tag.
- ARRAY_PREFIX - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Array type prefix (B, I, L)
B
- Basic_Tag<T> - Class in de.pauleff.core
- Basic_Tag(int) - Constructor for class de.pauleff.core.Basic_Tag
-
Create a NBT tag with ID.
- Basic_Tag(int, String) - Constructor for class de.pauleff.core.Basic_Tag
-
Create a NBT tag with ID and name and data set to null.
- Basic_Tag(int, String, T) - Constructor for class de.pauleff.core.Basic_Tag
-
Create a NBT tag with ID, name and data.
- BasicOperationsExample - Class in de.pauleff.examples
-
Demonstrates basic NBT operations using jNBT library.
- BasicOperationsExample() - Constructor for class de.pauleff.examples.BasicOperationsExample
- build() - Method in class de.pauleff.builder.CompoundBuilder
-
Finalizes construction and returns the completed compound tag.
- build() - Method in class de.pauleff.builder.ListBuilder
-
Completes construction and returns the built list.
- build() - Method in class de.pauleff.builder.NBTBuilder
-
Finalizes construction and returns the completed NBT tag.
- buildAndSave(File) - Method in class de.pauleff.builder.NBTBuilder
-
Builds the NBT structure and writes it directly to a file.
- buildAndSave(File, Compression_Types) - Method in class de.pauleff.builder.NBTBuilder
-
Builds the NBT structure and writes it to a file with specified compression.
- BuilderPatternExample - Class in de.pauleff.examples
-
Demonstrates the NBT builder pattern for creating complex structures.
- BuilderPatternExample() - Constructor for class de.pauleff.examples.BuilderPatternExample
- byteArrayToDataInputStream(byte[]) - Static method in class de.pauleff.formats.binary.NBTReader
-
Converts a byte array into a position-tracking DataInputStream for NBT reading.
- byteTag(String, byte) - Static method in class de.pauleff.builder.NBTBuilder
-
Creates a byte tag with immediate value assignment.
C
- close() - Method in interface de.pauleff.api.INBTReader
-
Closes this reader and releases any associated system resources.
- close() - Method in interface de.pauleff.api.INBTWriter
-
Closes this writer and releases any associated system resources.
- close() - Method in class de.pauleff.formats.binary.NBTReader
-
Method to close the reader.
- close() - Method in class de.pauleff.formats.binary.NBTWriter
-
Method to close the writer.
- close() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- Collection_Tag - Class in de.pauleff.core
-
Abstract base class for NBT tags that contain collections of other tags.
- Collection_Tag(int) - Constructor for class de.pauleff.core.Collection_Tag
-
Creates a collection tag with the specified NBT type identifier.
- Collection_Tag(int, String) - Constructor for class de.pauleff.core.Collection_Tag
-
Creates a named collection tag with the specified NBT type identifier.
- Collection_Tag(int, String, ArrayList<Tag<?>>) - Constructor for class de.pauleff.core.Collection_Tag
-
Creates a collection tag pre-populated with child tags.
- COLON - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Colon :
- COMMA - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Comma ,
- compound(String) - Static method in class de.pauleff.builder.NBTBuilder
-
Creates a fluent builder for compound tags containing key-value pairs.
- CompoundBuilder - Class in de.pauleff.builder
-
Fluent builder for creating structured NBT compound tags with seamless nesting support.
- CompoundBuilder(String, NBTBuilder) - Constructor for class de.pauleff.builder.CompoundBuilder
-
Creates a new compound builder ready for tag assembly.
- Compression_Types - Enum Class in de.pauleff.formats.binary
-
Compression formats supported for NBT file storage.
- CompressionAndIOExample - Class in de.pauleff.examples
-
Demonstrates compression handling and advanced I/O operations.
- CompressionAndIOExample() - Constructor for class de.pauleff.examples.CompressionAndIOExample
- copyNBTFile(File, File) - Static method in class de.pauleff.api.NBTFileFactory
-
Copies an NBT file to a new location, preserving compression format.
- createByte() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty byte tag.
- createByte(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named byte tag.
- createByte(String, byte) - Static method in class de.pauleff.api.NBTFactory
-
Creates a byte tag with name and value.
- createByteArray() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty byte array tag.
- createByteArray(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named byte array tag.
- createByteArray(String, byte[]) - Static method in class de.pauleff.api.NBTFactory
-
Creates a byte array tag with name and value.
- createCompound() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty compound tag.
- createCompound(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named compound tag.
- createCompound(String, ArrayList<ITag<?>>) - Static method in class de.pauleff.api.NBTFactory
-
Creates a compound tag with initial child tags.
- createContextualError(String) - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
-
Creates a detailed error message with current parsing context.
- createDouble() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty double tag.
- createDouble(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named double tag.
- createDouble(String, double) - Static method in class de.pauleff.api.NBTFactory
-
Creates a double tag with name and value.
- createFloat() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty float tag.
- createFloat(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named float tag.
- createFloat(String, float) - Static method in class de.pauleff.api.NBTFactory
-
Creates a float tag with name and value.
- createInt() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty integer tag.
- createInt(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named integer tag.
- createInt(String, int) - Static method in class de.pauleff.api.NBTFactory
-
Creates an integer tag with name and value.
- createIntArray() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty integer array tag.
- createIntArray(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named integer array tag.
- createIntArray(String, int[]) - Static method in class de.pauleff.api.NBTFactory
-
Creates an integer array tag with name and value.
- createList(int) - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty list tag for the specified element type.
- createList(String, int) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named list tag for the specified element type.
- createLong() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty long tag.
- createLong(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named long tag.
- createLong(String, long) - Static method in class de.pauleff.api.NBTFactory
-
Creates a long tag with name and value.
- createLongArray() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty long array tag.
- createLongArray(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named long array tag.
- createLongArray(String, long[]) - Static method in class de.pauleff.api.NBTFactory
-
Creates a long array tag with name and value.
- createReader(DataInputStream) - Static method in class de.pauleff.api.NBTFileFactory
-
Creates a reader from an existing data stream.
- createReader(File) - Static method in class de.pauleff.api.NBTFileFactory
-
Creates a reader that automatically detects compression format.
- createShort() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty short tag.
- createShort(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named short tag.
- createShort(String, short) - Static method in class de.pauleff.api.NBTFactory
-
Creates a short tag with name and value.
- createSimpleCompound(String, String...) - Static method in class de.pauleff.api.NBTFactory
-
Creates a simple NBT structure with key-value string pairs.
- createString() - Static method in class de.pauleff.api.NBTFactory
-
Creates an empty string tag.
- createString(String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a named string tag.
- createString(String, String) - Static method in class de.pauleff.api.NBTFactory
-
Creates a string tag with name and value.
- createWriter(File) - Static method in class de.pauleff.api.NBTFileFactory
-
Creates a writer that preserves the original file's compression format.
- createWriter(File, Compression_Types) - Static method in class de.pauleff.api.NBTFileFactory
-
Creates a writer with explicit compression settings.
D
- data - Variable in class de.pauleff.core.Tag
- de.pauleff.api - package de.pauleff.api
- de.pauleff.builder - package de.pauleff.builder
- de.pauleff.core - package de.pauleff.core
- de.pauleff.examples - package de.pauleff.examples
- de.pauleff.formats.binary - package de.pauleff.formats.binary
- de.pauleff.formats.snbt - package de.pauleff.formats.snbt
- de.pauleff.util - package de.pauleff.util
- doubleTag(String, double) - Static method in class de.pauleff.builder.NBTBuilder
-
Creates a double-precision tag with immediate value assignment.
E
- editTag(ITag<?>) - Method in interface de.pauleff.api.ITag
-
Replaces this tag's content with data from another compatible tag.
- editTag(ITag<?>) - Method in class de.pauleff.core.Tag
-
Replaces this tag's content with data from another compatible tag.
- end() - Method in class de.pauleff.builder.CompoundBuilder
-
Completes this nested compound and returns control to the parent builder.
- end() - Method in class de.pauleff.builder.ListBuilder
-
Finishes this nested list and returns to the parent builder.
- end() - Method in class de.pauleff.builder.NBTBuilder
-
Closes this nested builder and returns control to its parent.
- endCompound() - Method in class de.pauleff.builder.CompoundBuilder
-
Type-safe method to return to a CompoundBuilder parent.
- endCompound() - Method in class de.pauleff.builder.ListBuilder
-
Type-safe method to return to a CompoundBuilder parent.
- endList() - Method in class de.pauleff.builder.CompoundBuilder
-
Type-safe method to return to a ListBuilder parent.
- endList() - Method in class de.pauleff.builder.ListBuilder
-
Type-safe method to return to a ListBuilder parent.
- EOF - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
End of input
- equals(Object) - Method in class de.pauleff.core.Tag
-
Determines equality based on tag ID, name, and data content.
F
- floatTag(String, float) - Static method in class de.pauleff.builder.NBTBuilder
-
Creates a single-precision tag with immediate value assignment.
- fromFile(File) - Static method in class de.pauleff.builder.NBTBuilder
-
Creates a compound builder pre-loaded with data from an existing NBT file.
G
- getAllTags(Tag<?>) - Method in class de.pauleff.core.Collection_Tag
-
Finds all tags that are equal to the specified target tag.
- getAllTagsByName(String) - Method in class de.pauleff.core.Collection_Tag
-
Finds all tags with the specified name, including nested matches.
- getById(int) - Static method in enum class de.pauleff.formats.binary.Compression_Types
-
Looks up a compression type by its numeric identifier.
- getById(int) - Static method in enum class de.pauleff.util.NBTTags
-
Looks up an NBT tag type by its numeric ID.
- getByte(String) - Method in interface de.pauleff.api.ICompoundTag
-
Retrieves a byte value directly from a child tag.
- getByte(String) - Method in class de.pauleff.core.Tag_Compound
- getBytesRead() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
-
Returns the current position in the stream.
- getCompound() - Method in class de.pauleff.builder.CompoundBuilder
-
Provides access to the underlying compound for framework integration.
- getCompound(String) - Method in interface de.pauleff.api.ICompoundTag
-
Retrieves a compound tag by name without casting.
- getCompound(String) - Method in class de.pauleff.core.Tag_Compound
- getCompressionType(File) - Static method in class de.pauleff.formats.binary.NBTFileHandler
-
Method to get the compression type of a file.
- getData() - Method in interface de.pauleff.api.ITag
-
Returns the actual data payload stored in this tag.
- getData() - Method in class de.pauleff.core.Tag
-
Returns the data payload stored within this tag.
- getDouble(String) - Method in interface de.pauleff.api.ICompoundTag
-
Retrieves a double value directly from a child tag.
- getDouble(String) - Method in class de.pauleff.core.Tag_Compound
- getId() - Method in interface de.pauleff.api.ITag
-
Returns the NBT type identifier for this tag.
- getId() - Method in class de.pauleff.core.Tag
-
Returns the NBT type identifier for this tag.
- getId() - Method in enum class de.pauleff.formats.binary.Compression_Types
-
Returns the numeric identifier for this compression type.
- getId() - Method in enum class de.pauleff.util.NBTTags
-
Returns the official NBT type ID for this tag type.
- getInput() - Method in exception class de.pauleff.formats.snbt.SNBTException
-
Returns the input string that was being parsed when the error occurred.
- getInput() - Method in class de.pauleff.formats.snbt.SNBTTokenizer
-
Returns the original input string.
- getInt(String) - Method in interface de.pauleff.api.ICompoundTag
-
Retrieves an integer value directly from a child tag.
- getInt(String) - Method in class de.pauleff.core.Tag_Compound
- getList() - Method in class de.pauleff.builder.ListBuilder
-
Provides access to the underlying list for parent builders.
- getList(String) - Method in interface de.pauleff.api.ICompoundTag
-
Retrieves a list tag by name without casting.
- getList(String) - Method in class de.pauleff.core.Tag_Compound
- getListType() - Method in class de.pauleff.builder.ListBuilder
-
Returns the NBT type this list accepts for all elements.
- getListTypeID() - Method in interface de.pauleff.api.IListTag
-
Returns the NBT type ID that all elements in this list must have.
- getListTypeID() - Method in class de.pauleff.core.Tag_List
-
Returns the NBT type identifier for elements in this list.
- getName() - Method in interface de.pauleff.api.ITag
-
Returns the name of this tag.
- getName() - Method in class de.pauleff.builder.NBTBuilder
-
Returns the name that will be assigned to the built tag.
- getName() - Method in class de.pauleff.core.Tag
-
Returns the name assigned to this tag.
- getName() - Method in enum class de.pauleff.formats.binary.Compression_Types
-
Returns the human-readable name of this compression format.
- getName() - Method in enum class de.pauleff.util.NBTTags
-
Returns the official tag type name.
- getParent() - Method in class de.pauleff.builder.NBTBuilder
-
Returns the parent builder in the construction hierarchy.
- getPosition() - Method in exception class de.pauleff.formats.snbt.SNBTException
-
Returns the character position where the error occurred.
- getPosition() - Method in class de.pauleff.formats.snbt.SNBTTokenizer.Token
-
Returns the position where this token starts in the input.
- getString(String) - Method in interface de.pauleff.api.ICompoundTag
-
Retrieves a string value directly from a child tag.
- getString(String) - Method in class de.pauleff.core.Tag_Compound
- getTag(Tag<?>) - Method in class de.pauleff.core.Collection_Tag
-
Finds the first tag that equals the specified target tag.
- getTag(String) - Method in interface de.pauleff.api.ICompoundTag
-
Retrieves a child tag by name without requiring casts.
- getTag(String) - Method in class de.pauleff.core.Tag_Compound
- getTagByName(String) - Method in class de.pauleff.core.Collection_Tag
-
Finds the first tag with the specified name, including nested search.
- getTagDepth() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
-
Returns the current nesting depth in the NBT structure.
- getType() - Method in class de.pauleff.formats.snbt.SNBTTokenizer.Token
-
Returns the type of this token.
- getValue() - Method in class de.pauleff.formats.snbt.SNBTTokenizer.Token
-
Returns the string value of this token.
- GZIP - Enum constant in enum class de.pauleff.formats.binary.Compression_Types
-
GZIP compression - most common for Minecraft saves
H
- hashCode() - Method in class de.pauleff.core.Tag
- hasTag(String) - Method in interface de.pauleff.api.ICompoundTag
-
Checks whether this compound contains a tag with the specified name.
- hasTag(String) - Method in class de.pauleff.core.Tag_Compound
I
- ICompoundTag - Interface in de.pauleff.api
-
Interface for NBT compound tags - the workhorse of NBT data structures.
- IListTag - Interface in de.pauleff.api
-
Interface for NBT list tags - ordered collections of same-type elements.
- INBTReader - Interface in de.pauleff.api
-
Interface for reading NBT data from files with automatic format detection.
- INBTWriter - Interface in de.pauleff.api
-
Interface for writing NBT data to files with automatic compression handling.
- integer(String, int) - Static method in class de.pauleff.builder.NBTBuilder
-
Creates an integer tag with immediate value assignment.
- isValidNBTFile(File) - Static method in class de.pauleff.api.NBTFileFactory
-
Checks if a file appears to be a valid NBT file by attempting to read its header.
- ITag<T> - Interface in de.pauleff.api
-
Base interface for all NBT (Named Binary Tag) structures.
L
- LBRACE - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Left brace {
- LBRACKET - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Left bracket [
- list(String, NBTTags) - Static method in class de.pauleff.builder.NBTBuilder
-
Creates a fluent builder for homogeneous list tags.
- ListBuilder - Class in de.pauleff.builder
-
Fluent builder for creating type-safe NBT lists.
- ListBuilder(String, NBTTags, NBTBuilder) - Constructor for class de.pauleff.builder.ListBuilder
-
Creates a new list builder with strict type enforcement.
- loadNBTToReader(File) - Static method in class de.pauleff.formats.binary.NBTFileHandler
-
Method to fully load a NBT file and return it as a
DataInputStream. - loadNBTToWriter(File, Compression_Types) - Static method in class de.pauleff.formats.binary.NBTFileHandler
-
Method to create a
DataOutputStreamto later write a NBT file. - longTag(String, long) - Static method in class de.pauleff.builder.NBTBuilder
-
Creates a long integer tag with immediate value assignment.
- LZ4 - Enum constant in enum class de.pauleff.formats.binary.Compression_Types
-
LZ4 compression - planned support for high-performance scenarios
M
- main(String[]) - Static method in class de.pauleff.examples.BasicOperationsExample
- main(String[]) - Static method in class de.pauleff.examples.BuilderPatternExample
- main(String[]) - Static method in class de.pauleff.examples.CompressionAndIOExample
- main(String[]) - Static method in class de.pauleff.examples.SNBTExample
- main(String[]) - Static method in class de.pauleff.examples.TypeSafetyAndValidationExample
N
- name - Variable in class de.pauleff.builder.NBTBuilder
- NBTBuilder - Class in de.pauleff.builder
-
Fluent factory for creating NBT tag structures with type safety and readable syntax.
- NBTBuilder(String, NBTBuilder) - Constructor for class de.pauleff.builder.NBTBuilder
-
Constructs a builder with parent-child relationship for nested structures.
- NBTFactory - Class in de.pauleff.api
-
Factory for creating NBT tags through the public API.
- NBTFactory() - Constructor for class de.pauleff.api.NBTFactory
- NBTFileFactory - Class in de.pauleff.api
-
Factory for creating NBT file I/O handlers with automatic format detection.
- NBTFileFactory() - Constructor for class de.pauleff.api.NBTFileFactory
- NBTFileHandler - Class in de.pauleff.formats.binary
-
Class for managing the loading and conversion of a given NBT file to the desired stream.
- NBTFileHandler() - Constructor for class de.pauleff.formats.binary.NBTFileHandler
- NBTReader - Class in de.pauleff.formats.binary
-
Class for handling the parsing and formatting of a Java NBT file.
- NBTReader(DataInputStream) - Constructor for class de.pauleff.formats.binary.NBTReader
-
Create a reader by passing it a
DataInputStream. - NBTReader(File) - Constructor for class de.pauleff.formats.binary.NBTReader
-
Create a reader by passing it the target NBT file.
- NBTTags - Enum Class in de.pauleff.util
-
NBT tag type registry containing all 13 official tag types from the NBT specification.
- NBTWriter - Class in de.pauleff.formats.binary
-
Class for handling the writing of Java NBT to file.
- NBTWriter(DataOutputStream) - Constructor for class de.pauleff.formats.binary.NBTWriter
-
Create a writer by passing it the target NBT file as a
DataOutputStream. - NBTWriter(File) - Constructor for class de.pauleff.formats.binary.NBTWriter
-
Create a writer by passing it the target NBT file.
- NBTWriter(File, Compression_Types) - Constructor for class de.pauleff.formats.binary.NBTWriter
-
Create a writer by passing it the target NBT file and how to compress it.
- nextToken() - Method in class de.pauleff.formats.snbt.SNBTTokenizer
-
Returns the next token from the input stream.
- NONE - Enum constant in enum class de.pauleff.formats.binary.Compression_Types
-
No compression - raw NBT binary data
- NUMBER - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Numeric value with optional type suffix
P
- parent - Variable in class de.pauleff.builder.NBTBuilder
- parse() - Method in class de.pauleff.formats.snbt.SNBTParser
-
Parses the complete SNBT string into an NBT tag.
- parseCompoundFromSNBT(String) - Static method in class de.pauleff.api.NBTFactory
-
Parses SNBT text into a compound tag.
- parseFromSNBT(String) - Static method in class de.pauleff.api.NBTFactory
-
Parses SNBT (Stringified NBT) text into an NBT tag structure.
- parseListFromSNBT(String) - Static method in class de.pauleff.api.NBTFactory
-
Parses SNBT text into a list tag.
- PositionTrackingDataInputStream - Class in de.pauleff.formats.binary
-
Enhanced DataInputStream wrapper that tracks read position for better error reporting.
- PositionTrackingDataInputStream(InputStream) - Constructor for class de.pauleff.formats.binary.PositionTrackingDataInputStream
-
Creates a position tracking input stream.
R
- RBRACE - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Right brace }
- RBRACKET - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Right bracket ]
- read() - Method in interface de.pauleff.api.INBTReader
-
Reads and parses the entire NBT file into a compound tag structure.
- read() - Method in class de.pauleff.formats.binary.NBTReader
-
Parses the NBT file and returns the root compound tag.
- readByte() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- readDouble() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- readFloat() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- readFully(byte[]) - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- readFully(byte[], int, int) - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- readInt() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- readLong() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- readNBTFile(File) - Static method in class de.pauleff.api.NBTFileFactory
-
Reads an NBT file completely and returns the root compound tag.
- readShort() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- readUnsignedByte() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- readUnsignedShort() - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
- removeAllTags(Tag<?>) - Method in class de.pauleff.core.Collection_Tag
-
Removes all tags equal to the specified target from this collection and descendants.
- removeAllTagsByName(String) - Method in class de.pauleff.core.Collection_Tag
-
Removes all tags with the specified name from this collection and descendants.
- removeTag(Tag<?>) - Method in class de.pauleff.core.Collection_Tag
-
Removes the first tag equal to the specified target and returns this collection.
- removeTagByName(String) - Method in class de.pauleff.core.Collection_Tag
-
Removes the first tag with the specified name and returns this collection.
S
- SEMICOLON - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Semicolon ;
- serialize(ITag<?>) - Method in class de.pauleff.formats.snbt.SNBTSerializer
-
Serializes an NBT tag to SNBT string format.
- setCurrentContext(int, String, int) - Method in class de.pauleff.formats.binary.PositionTrackingDataInputStream
-
Sets the current tag context for error reporting.
- setData(T) - Method in interface de.pauleff.api.ITag
-
Updates the data payload of this tag.
- setData(T) - Method in class de.pauleff.core.Tag
-
Updates the data payload with type validation.
- setName(String) - Method in interface de.pauleff.api.ITag
-
Updates the name of this tag.
- setName(String) - Method in class de.pauleff.core.Tag
-
Updates the name assigned to this tag.
- shortTag(String, short) - Static method in class de.pauleff.builder.NBTBuilder
-
Creates a short integer tag with immediate value assignment.
- SNBTExample - Class in de.pauleff.examples
-
Demonstrates SNBT (Stringified NBT) parsing and serialization capabilities.
- SNBTExample() - Constructor for class de.pauleff.examples.SNBTExample
- SNBTException - Exception Class in de.pauleff.formats.snbt
-
Exception thrown when parsing or generating SNBT (Stringified NBT) data fails.
- SNBTException(String) - Constructor for exception class de.pauleff.formats.snbt.SNBTException
-
Creates an SNBT exception with a message.
- SNBTException(String, int, String) - Constructor for exception class de.pauleff.formats.snbt.SNBTException
-
Creates an SNBT exception with position information.
- SNBTException(String, int, String, Throwable) - Constructor for exception class de.pauleff.formats.snbt.SNBTException
-
Creates an SNBT exception with position information and underlying cause.
- SNBTException(String, Throwable) - Constructor for exception class de.pauleff.formats.snbt.SNBTException
-
Creates an SNBT exception with a message and underlying cause.
- SNBTParser - Class in de.pauleff.formats.snbt
-
Parser for SNBT (Stringified NBT) format.
- SNBTParser(String) - Constructor for class de.pauleff.formats.snbt.SNBTParser
-
Creates a parser for the given SNBT input string.
- SNBTSerializer - Class in de.pauleff.formats.snbt
-
Serializer for converting NBT tags into SNBT (Stringified NBT) format.
- SNBTSerializer() - Constructor for class de.pauleff.formats.snbt.SNBTSerializer
-
Creates a serializer with Minecraft-compatible formatting.
- SNBTTokenizer - Class in de.pauleff.formats.snbt
-
Tokenizer for SNBT (Stringified NBT) format.
- SNBTTokenizer(String) - Constructor for class de.pauleff.formats.snbt.SNBTTokenizer
-
Creates a tokenizer for SNBT input.
- SNBTTokenizer.Token - Class in de.pauleff.formats.snbt
-
Represents a single token in the SNBT input.
- SNBTTokenizer.TokenType - Enum Class in de.pauleff.formats.snbt
-
Enumeration of all token types recognized by the SNBT tokenizer.
- string(String, String) - Static method in class de.pauleff.builder.NBTBuilder
-
Creates a string tag with immediate value assignment.
- STRING - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
String value (quoted or unquoted)
T
- Tag<T> - Class in de.pauleff.core
-
Foundation class for all NBT tags, providing core functionality for data storage, identification, and manipulation within the NBT hierarchy.
- Tag(int) - Constructor for class de.pauleff.core.Tag
-
Creates a new tag with the specified NBT type identifier.
- Tag(int, String) - Constructor for class de.pauleff.core.Tag
-
Creates a new named tag with the specified NBT type identifier.
- Tag(int, String, T) - Constructor for class de.pauleff.core.Tag
-
Creates a new tag with complete initialization.
- Tag_Byte - Class in de.pauleff.core
-
Class representing a NBT byte tag.
- Tag_Byte - Enum constant in enum class de.pauleff.util.NBTTags
-
8-bit signed integer
- Tag_Byte() - Constructor for class de.pauleff.core.Tag_Byte
-
Create an empty byte tag.
- Tag_Byte(String) - Constructor for class de.pauleff.core.Tag_Byte
-
Create a byte tag with name and data set to null.
- Tag_Byte(String, Byte) - Constructor for class de.pauleff.core.Tag_Byte
-
Create a byte tag with name and data.
- Tag_Byte_Array - Class in de.pauleff.core
-
Class representing a NBT byte array tag.
- Tag_Byte_Array - Enum constant in enum class de.pauleff.util.NBTTags
-
Array of unsigned bytes
- Tag_Byte_Array() - Constructor for class de.pauleff.core.Tag_Byte_Array
-
Create an empty byte array tag.
- Tag_Byte_Array(String) - Constructor for class de.pauleff.core.Tag_Byte_Array
-
Create a byte array tag with name and data set to null.
- Tag_Byte_Array(String, byte[]) - Constructor for class de.pauleff.core.Tag_Byte_Array
-
Create a byte array tag with name and data.
- Tag_Compound - Class in de.pauleff.core
-
Represents an NBT compound tag - a named collection of heterogeneous tags that forms the backbone of NBT data structures.
- Tag_Compound - Enum constant in enum class de.pauleff.util.NBTTags
-
Named collection of heterogeneous tags
- Tag_Compound() - Constructor for class de.pauleff.core.Tag_Compound
-
Creates an empty compound tag with default name.
- Tag_Compound(String) - Constructor for class de.pauleff.core.Tag_Compound
-
Creates an empty compound tag with the specified name.
- Tag_Compound(String, ArrayList<Tag<?>>) - Constructor for class de.pauleff.core.Tag_Compound
-
Creates a compound tag pre-populated with child tags.
- Tag_Double - Class in de.pauleff.core
-
Class representing a NBT double tag.
- Tag_Double - Enum constant in enum class de.pauleff.util.NBTTags
-
64-bit floating point number
- Tag_Double() - Constructor for class de.pauleff.core.Tag_Double
-
Create an empty double tag.
- Tag_Double(String) - Constructor for class de.pauleff.core.Tag_Double
-
Create a double tag with name and data set to null.
- Tag_Double(String, double) - Constructor for class de.pauleff.core.Tag_Double
-
Create a double tag with name and data.
- Tag_End - Class in de.pauleff.core
-
Class representing a NBT end tag.
- Tag_End - Enum constant in enum class de.pauleff.util.NBTTags
-
Marks the end of compound tag contents
- Tag_End() - Constructor for class de.pauleff.core.Tag_End
-
Create an empty end tag.
- Tag_End(String) - Constructor for class de.pauleff.core.Tag_End
-
Create an end tag with name and data set to null.
- Tag_End(String, Object) - Constructor for class de.pauleff.core.Tag_End
-
Create an end tag with name and data.
- Tag_Float - Class in de.pauleff.core
-
Class representing a NBT float tag.
- Tag_Float - Enum constant in enum class de.pauleff.util.NBTTags
-
32-bit floating point number
- Tag_Float() - Constructor for class de.pauleff.core.Tag_Float
-
Create an empty float tag.
- Tag_Float(String) - Constructor for class de.pauleff.core.Tag_Float
-
Create a float tag with name and data set to null.
- Tag_Float(String, float) - Constructor for class de.pauleff.core.Tag_Float
-
Create a float tag with name and data.
- Tag_Int - Class in de.pauleff.core
-
Class representing a NBT int tag.
- Tag_Int - Enum constant in enum class de.pauleff.util.NBTTags
-
32-bit signed integer
- Tag_Int() - Constructor for class de.pauleff.core.Tag_Int
-
Create an empty int tag.
- Tag_Int(String) - Constructor for class de.pauleff.core.Tag_Int
-
Create a int tag with name and data set to null.
- Tag_Int(String, int) - Constructor for class de.pauleff.core.Tag_Int
-
Create a int tag with name and data.
- Tag_Int_Array - Class in de.pauleff.core
-
Class representing a NBT int array tag.
- Tag_Int_Array - Enum constant in enum class de.pauleff.util.NBTTags
-
Array of 32-bit signed integers
- Tag_Int_Array() - Constructor for class de.pauleff.core.Tag_Int_Array
-
Create an empty int array tag.
- Tag_Int_Array(String) - Constructor for class de.pauleff.core.Tag_Int_Array
-
Create an int array tag with name and data set to null.
- Tag_Int_Array(String, int[]) - Constructor for class de.pauleff.core.Tag_Int_Array
-
Create an int array tag with name and data.
- Tag_List - Class in de.pauleff.core
-
Represents an NBT list tag - a homogeneous collection containing multiple tags of the same type, accessed by index rather than name.
- Tag_List - Enum constant in enum class de.pauleff.util.NBTTags
-
Ordered collection of same-type tags
- Tag_List(int) - Constructor for class de.pauleff.core.Tag_List
-
Creates an empty list with the specified element type.
- Tag_List(String, int) - Constructor for class de.pauleff.core.Tag_List
-
Creates an empty named list with the specified element type.
- Tag_List(String, int, ArrayList<Tag<?>>) - Constructor for class de.pauleff.core.Tag_List
-
Creates a list pre-populated with elements of the specified type.
- Tag_Long - Class in de.pauleff.core
-
Class representing a NBT long tag.
- Tag_Long - Enum constant in enum class de.pauleff.util.NBTTags
-
64-bit signed integer
- Tag_Long() - Constructor for class de.pauleff.core.Tag_Long
-
Create an empty long tag.
- Tag_Long(String) - Constructor for class de.pauleff.core.Tag_Long
-
Create a long tag with name and data set to null.
- Tag_Long(String, long) - Constructor for class de.pauleff.core.Tag_Long
-
Create a long tag with name and data.
- Tag_Long_Array - Class in de.pauleff.core
-
Class representing a NBT long array tag.
- Tag_Long_Array - Enum constant in enum class de.pauleff.util.NBTTags
-
Array of 64-bit signed integers
- Tag_Long_Array() - Constructor for class de.pauleff.core.Tag_Long_Array
-
Create an empty long array tag.
- Tag_Long_Array(String) - Constructor for class de.pauleff.core.Tag_Long_Array
-
Create a long array tag with name and data set to null.
- Tag_Long_Array(String, long[]) - Constructor for class de.pauleff.core.Tag_Long_Array
-
Create a long array tag with name and data.
- Tag_Short - Class in de.pauleff.core
-
Class representing a NBT short tag.
- Tag_Short - Enum constant in enum class de.pauleff.util.NBTTags
-
16-bit signed integer
- Tag_Short() - Constructor for class de.pauleff.core.Tag_Short
-
Create an empty short tag.
- Tag_Short(String) - Constructor for class de.pauleff.core.Tag_Short
-
Create a short tag with name and data set to null.
- Tag_Short(String, short) - Constructor for class de.pauleff.core.Tag_Short
-
Create a short tag with name and data.
- Tag_String - Class in de.pauleff.core
-
Class representing a NBT string tag.
- Tag_String - Enum constant in enum class de.pauleff.util.NBTTags
-
UTF-8 encoded string
- Tag_String() - Constructor for class de.pauleff.core.Tag_String
-
Create an empty string tag.
- Tag_String(String) - Constructor for class de.pauleff.core.Tag_String
-
Create a string tag with name and data set to null.
- Tag_String(String, String) - Constructor for class de.pauleff.core.Tag_String
-
Create a string tag with name and data.
- Token(SNBTTokenizer.TokenType, String, int) - Constructor for class de.pauleff.formats.snbt.SNBTTokenizer.Token
-
Creates a new token.
- toSNBT(ITag<?>) - Static method in class de.pauleff.api.NBTFactory
-
Converts an NBT tag to SNBT (Stringified NBT) format.
- toString() - Method in interface de.pauleff.api.ITag
-
Returns a human-readable representation of this tag.
- toString() - Method in class de.pauleff.core.Tag_Byte_Array
- toString() - Method in class de.pauleff.core.Tag_Compound
-
Generates a hierarchical string representation showing all nested tags.
- toString() - Method in class de.pauleff.core.Tag_End
-
Method for generating a formatable string representation of the tag.
- toString() - Method in class de.pauleff.core.Tag_Int_Array
- toString() - Method in class de.pauleff.core.Tag_List
-
Generates a hierarchical string representation showing list metadata and elements.
- toString() - Method in class de.pauleff.core.Tag_Long_Array
- toString() - Method in class de.pauleff.core.Tag
-
Generates a human-readable representation showing tag type, name, and data.
- toString() - Method in class de.pauleff.formats.snbt.SNBTTokenizer.Token
- TypeSafetyAndValidationExample - Class in de.pauleff.examples
-
Demonstrates type safety and validation features of jNBT.
- TypeSafetyAndValidationExample() - Constructor for class de.pauleff.examples.TypeSafetyAndValidationExample
U
- UNKNOWN - Enum constant in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Invalid or unrecognized character
V
- validateName(String) - Static method in class de.pauleff.builder.NBTBuilder
-
Ensures tag names meet NBT requirements.
- valueOf(String) - Static method in enum class de.pauleff.formats.binary.Compression_Types
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.pauleff.util.NBTTags
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.pauleff.formats.binary.Compression_Types
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.pauleff.formats.snbt.SNBTTokenizer.TokenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.pauleff.util.NBTTags
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- write(ICompoundTag) - Method in interface de.pauleff.api.INBTWriter
-
Writes the given compound tag as the root of an NBT file.
- write(ICompoundTag) - Method in class de.pauleff.formats.binary.NBTWriter
-
Writes the compound tag structure to file and closes the writer.
- writeNBTFile(File, ICompoundTag) - Static method in class de.pauleff.api.NBTFileFactory
-
Writes an NBT compound tag to file with automatic compression detection.
- writeNBTFile(File, ICompoundTag, Compression_Types) - Static method in class de.pauleff.api.NBTFileFactory
-
Writes an NBT compound tag to a new file with specified compression.
- writeToFile(ITag<?>, File) - Method in class de.pauleff.formats.snbt.SNBTSerializer
-
Writes an NBT tag to a text file in SNBT format.
- writeToSNBTFile(ITag<?>, File) - Static method in class de.pauleff.api.NBTFactory
-
Writes an NBT tag to a text file in SNBT format.
Z
- ZLIB - Enum constant in enum class de.pauleff.formats.binary.Compression_Types
-
ZLIB compression - used by some Minecraft components
All Classes and Interfaces|All Packages|Serialized Form