Uses of Interface
de.pauleff.api.ITag
Packages that use ITag
-
Uses of ITag in de.pauleff.api
Subinterfaces of ITag in de.pauleff.apiModifier and TypeInterfaceDescriptioninterfaceInterface for NBT compound tags - the workhorse of NBT data structures.interfaceInterface for NBT list tags - ordered collections of same-type elements.Methods in de.pauleff.api that return ITagModifier and TypeMethodDescriptionNBTFactory.createByte()Creates an empty byte tag.NBTFactory.createByte(String name) Creates a named byte tag.NBTFactory.createByte(String name, byte value) Creates a byte tag with name and value.static ITag<byte[]> NBTFactory.createByteArray()Creates an empty byte array tag.static ITag<byte[]> NBTFactory.createByteArray(String name) Creates a named byte array tag.static ITag<byte[]> NBTFactory.createByteArray(String name, byte[] value) Creates a byte array tag with name and value.NBTFactory.createDouble()Creates an empty double tag.NBTFactory.createDouble(String name) Creates a named double tag.NBTFactory.createDouble(String name, double value) Creates a double tag with name and value.NBTFactory.createFloat()Creates an empty float tag.NBTFactory.createFloat(String name) Creates a named float tag.NBTFactory.createFloat(String name, float value) Creates a float tag with name and value.NBTFactory.createInt()Creates an empty integer tag.Creates a named integer tag.Creates an integer tag with name and value.static ITag<int[]> NBTFactory.createIntArray()Creates an empty integer array tag.static ITag<int[]> NBTFactory.createIntArray(String name) Creates a named integer array tag.static ITag<int[]> NBTFactory.createIntArray(String name, int[] value) Creates an integer array tag with name and value.NBTFactory.createLong()Creates an empty long tag.NBTFactory.createLong(String name) Creates a named long tag.NBTFactory.createLong(String name, long value) Creates a long tag with name and value.static ITag<long[]> NBTFactory.createLongArray()Creates an empty long array tag.static ITag<long[]> NBTFactory.createLongArray(String name) Creates a named long array tag.static ITag<long[]> NBTFactory.createLongArray(String name, long[] value) Creates a long array tag with name and value.NBTFactory.createShort()Creates an empty short tag.NBTFactory.createShort(String name) Creates a named short tag.NBTFactory.createShort(String name, short value) Creates a short tag with name and value.NBTFactory.createString()Creates an empty string tag.NBTFactory.createString(String name) Creates a named string tag.NBTFactory.createString(String name, String value) Creates a string tag with name and value.ITag<?> Retrieves a child tag by name without requiring casts.static ITag<?> NBTFactory.parseFromSNBT(String snbt) Parses SNBT (Stringified NBT) text into an NBT tag structure.Methods in de.pauleff.api with parameters of type ITagModifier and TypeMethodDescriptionvoidReplaces this tag's content with data from another compatible tag.static StringConverts an NBT tag to SNBT (Stringified NBT) format.static voidNBTFactory.writeToSNBTFile(ITag<?> tag, File file) Writes an NBT tag to a text file in SNBT format.Method parameters in de.pauleff.api with type arguments of type ITagModifier and TypeMethodDescriptionvoidITag.applyOperation(Consumer<ITag<T>> operation) Applies a custom transformation or inspection operation to this tag.static ICompoundTagNBTFactory.createCompound(String name, ArrayList<ITag<?>> data) Creates a compound tag with initial child tags. -
Uses of ITag in de.pauleff.builder
Methods in de.pauleff.builder that return ITagModifier and TypeMethodDescriptionabstract ITag<?> NBTBuilder.build()Finalizes construction and returns the completed NBT tag.Creates a byte tag with immediate value assignment.Creates a double-precision tag with immediate value assignment.Creates a single-precision tag with immediate value assignment.Creates an integer tag with immediate value assignment.Creates a long integer tag with immediate value assignment.Creates a short integer tag with immediate value assignment.Creates a string tag with immediate value assignment. -
Uses of ITag in de.pauleff.core
Classes in de.pauleff.core that implement ITagModifier and TypeClassDescriptionclassBasic_Tag<T>classAbstract base class for NBT tags that contain collections of other tags.classTag<T>Foundation class for all NBT tags, providing core functionality for data storage, identification, and manipulation within the NBT hierarchy.classClass representing a NBT byte tag.classClass representing a NBT byte array tag.classRepresents an NBT compound tag - a named collection of heterogeneous tags that forms the backbone of NBT data structures.classClass representing a NBT double tag.classClass representing a NBT end tag.classClass representing a NBT float tag.classClass representing a NBT int tag.classClass representing a NBT int array tag.classRepresents an NBT list tag - a homogeneous collection containing multiple tags of the same type, accessed by index rather than name.classClass representing a NBT long tag.classClass representing a NBT long array tag.classClass representing a NBT short tag.classClass representing a NBT string tag.Methods in de.pauleff.core that return ITagMethods in de.pauleff.core with parameters of type ITagModifier and TypeMethodDescriptionAdds a child tag to this collection with type validation.voidReplaces this tag's content with data from another compatible tag.Method parameters in de.pauleff.core with type arguments of type ITagModifier and TypeMethodDescriptionvoidTag.applyOperation(Consumer<ITag<T>> operation) Applies a custom transformation or operation to this tag. -
Uses of ITag in de.pauleff.formats.snbt
Methods in de.pauleff.formats.snbt that return ITagModifier and TypeMethodDescriptionITag<?> SNBTParser.parse()Parses the complete SNBT string into an NBT tag.Methods in de.pauleff.formats.snbt with parameters of type ITag