Uses of Class
de.pauleff.jnbt.builder.CompoundBuilder
Packages that use CompoundBuilder
-
Uses of CompoundBuilder in de.pauleff.jnbt.builder
Methods in de.pauleff.jnbt.builder that return CompoundBuilderModifier and TypeMethodDescriptionStores a byte value with the specified name.CompoundBuilder.addByteArray(String name, byte[] value) Stores a byte array with the specified name.CompoundBuilder.addCompound(String name) Creates a nested compound within this one and switches to nested-building mode.ListBuilder.addCompound(String name) Begins building a compound element within this list.Stores a double-precision value with the specified name.Stores a single-precision float with the specified name.Stores an integer value with the specified name.CompoundBuilder.addIntArray(String name, int[] value) Stores an integer array with the specified name.Stores a long integer with the specified name.CompoundBuilder.addLongArray(String name, long[] value) Stores a long array with the specified name.Stores a short integer with the specified name.Stores a string value with the specified name.Incorporates an existing tag into this compound.CompoundBuilder.clear()Removes all tags from this compound.static CompoundBuilderCreates a fluent builder for compound tags containing key-value pairs.CompoundBuilder.endCompound()Type-safe method to return to a CompoundBuilder parent.ListBuilder.endCompound()Type-safe method to return to a CompoundBuilder parent.static CompoundBuilderNBTBuilder.fromCompound(ICompoundTag compoundTag) Creates a compound builder pre-loaded with data from an existing ICompoundTag.static CompoundBuilderCreates a compound builder pre-loaded with data from an existing NBT file.Removes a tag by name.CompoundBuilder.removeTags(String... names) Removes multiple tags by name.Updates or creates a byte value with the specified name.CompoundBuilder.setByteArray(String name, byte[] value) Updates or creates a byte array with the specified name.Updates or creates a double-precision value with the specified name.Updates or creates a float value with the specified name.Updates or creates an integer value with the specified name.CompoundBuilder.setIntArray(String name, int[] value) Updates or creates an integer array with the specified name.Updates or creates a long integer with the specified name.CompoundBuilder.setLongArray(String name, long[] value) Updates or creates a long array with the specified name.Updates or creates a short integer with the specified name.Updates or creates a string value with the specified name.Updates or replaces an existing tag.