Uses of Interface
de.pauleff.jnbt.api.ICompoundTag
Packages that use ICompoundTag
Package
Description
-
Uses of ICompoundTag in de.pauleff.jnbt.api
Methods in de.pauleff.jnbt.api that return ICompoundTagModifier and TypeMethodDescriptionAdds a byte tag with the given name and value.ICompoundTag.addByteArray(String name, byte[] value) Adds a byte array tag.Adds a double-precision floating point tag.Adds a single-precision floating point tag.Adds an integer tag with the given name and value.ICompoundTag.addIntArray(String name, int[] value) Adds an integer array tag.Adds a long integer tag.ICompoundTag.addLongArray(String name, long[] value) Adds a long array tag.Adds a short integer tag.Adds a string tag with the given name and value.ICompoundTag.clear()Removes all tags from this compound.static ICompoundTagNBTFactory.createCompound()Creates an empty compound tag.static ICompoundTagNBTFactory.createCompound(String name) Creates a named compound tag.static ICompoundTagNBTFactory.createCompound(String name, ArrayList<ITag<?>> data) Creates a compound tag with initial child tags.static ICompoundTagNBTFactory.createSimpleCompound(String rootName, String... keyValuePairs) Creates a simple NBT structure with key-value string pairs.ICompoundTag.getCompound(String name) Retrieves a compound tag by name without casting.static ICompoundTagNBTFactory.parseCompoundFromSNBT(String snbt) Parses SNBT text into a compound tag.INBTReader.read()Reads and parses the entire NBT file into a compound tag structure.static ICompoundTagNBTFileFactory.readNBTFile(File nbtFile) Reads an NBT file completely and returns the root compound tag.Removes a tag by name and returns this compound for chaining.ICompoundTag.removeTags(String... names) Removes multiple tags by name and returns this compound for chaining.Updates or creates a byte tag with the given name and value.ICompoundTag.setByteArray(String name, byte[] value) Updates or creates a byte array tag.Updates or creates a double-precision floating point tag.Updates or creates a single-precision floating point tag.Updates or creates an integer tag with the given name and value.ICompoundTag.setIntArray(String name, int[] value) Updates or creates an integer array tag.Updates or creates a long integer tag.ICompoundTag.setLongArray(String name, long[] value) Updates or creates a long array tag.Updates or creates a short integer tag.Updates or creates a string tag with the given name and value.Updates or replaces an existing tag with a new one.Methods in de.pauleff.jnbt.api with parameters of type ICompoundTagModifier and TypeMethodDescriptionvoidINBTWriter.write(ICompoundTag root) Writes the given compound tag as the root of an NBT file.static voidNBTFileFactory.writeNBTFile(File nbtFile, ICompoundTag root) Writes an NBT compound tag to file with automatic compression detection.static voidNBTFileFactory.writeNBTFile(File nbtFile, ICompoundTag root, Compression_Types compression) Writes an NBT compound tag to a new file with specified compression. -
Uses of ICompoundTag in de.pauleff.jnbt.builder
Methods in de.pauleff.jnbt.builder that return ICompoundTagModifier and TypeMethodDescriptionCompoundBuilder.build()Finalizes construction and returns the completed compound tag.Methods in de.pauleff.jnbt.builder with parameters of type ICompoundTagModifier and TypeMethodDescriptionstatic CompoundBuilderNBTBuilder.fromCompound(ICompoundTag compoundTag) Creates a compound builder pre-loaded with data from an existing ICompoundTag.Constructors in de.pauleff.jnbt.builder with parameters of type ICompoundTagModifierConstructorDescriptionCompoundBuilder(ICompoundTag existingCompound, NBTBuilder parent) Creates a compound builder from an existing compound tag for modification. -
Uses of ICompoundTag in de.pauleff.jnbt.core
Classes in de.pauleff.jnbt.core that implement ICompoundTagModifier and TypeClassDescriptionclassRepresents an NBT compound tag - a named collection of heterogeneous tags that forms the backbone of NBT data structures.Methods in de.pauleff.jnbt.core that return ICompoundTagModifier and TypeMethodDescriptionAdds a byte tag and returns this compound for method chaining.Tag_Compound.addByteArray(String name, byte[] value) Adds a byte array tag and returns this compound for method chaining.Adds a double-precision tag and returns this compound for method chaining.Adds a single-precision float tag and returns this compound for method chaining.Adds an integer tag and returns this compound for method chaining.Tag_Compound.addIntArray(String name, int[] value) Adds an integer array tag and returns this compound for method chaining.Adds a long integer tag and returns this compound for method chaining.Tag_Compound.addLongArray(String name, long[] value) Adds a long array tag and returns this compound for method chaining.Adds a short integer tag and returns this compound for method chaining.Adds a string tag and returns this compound for method chaining.Tag_Compound.clear()Tag_Compound.getCompound(String name) Tag_Compound.removeTags(String... names) Tag_Compound.setByteArray(String name, byte[] value) Tag_Compound.setIntArray(String name, int[] value) Tag_Compound.setLongArray(String name, long[] value) -
Uses of ICompoundTag in de.pauleff.jnbt.formats.binary
Methods in de.pauleff.jnbt.formats.binary that return ICompoundTagModifier and TypeMethodDescriptionNBTReader.read()Parses the NBT file and returns the root compound tag.Methods in de.pauleff.jnbt.formats.binary with parameters of type ICompoundTagModifier and TypeMethodDescriptionvoidNBTWriter.write(ICompoundTag root) Writes the compound tag structure to file and closes the writer.