Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

add(byte) - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
Add a byte to the array.
This will create a new array and copy the old one into it.
add(String, NbtTag) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a tag to the map.
add(String, Object) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a tag from its raw value to the map.
add(int) - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
Add an int to the array.
This will create a new array and copy the old values into it.
add(T) - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
Add a tag to the list.
add(long) - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
Add a long to the array.
This will create a new array and copy the old values into it.
addAll(CompoundTag) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add all tags from the given compound tag to the map.
addBoolean(String, boolean) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a boolean to the map.
Booleans are stored as bytes with 0 being false and everything else being true.
addByte(String, byte) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a byte to the map.
addByteArray(String, byte...) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a byte array to the map.
addCompound(String, CompoundTag) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a compound to the map.
addDouble(String, double) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a double to the map.
addFloat(String, float) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a float to the map.
addInt(String, int) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add an int to the map.
addIntArray(String, int...) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add an int array to the map.
addList(String, ListTag<?>) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a list to the map.
addList(String, T...) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a list to the map.
addList(String, Object...) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a list to the map.
addLong(String, long) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a long to the map.
addLongArray(String, long...) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a long array to the map.
addShort(String, short) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a short to the map.
addString(String, String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Add a string to the map.
asArrayTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as an array tag.
asByteArrayTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a byte array tag.
asByteTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a byte tag.
asCompoundTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a compound tag.
asDoubleTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a double tag.
asFloatTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a float tag.
asIntArrayTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as an int array tag.
asIntTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as an int tag.
asListTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a list tag.
asLongArrayTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a long array tag.
asLongTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a long tag.
asNumberTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a number tag.
asShortTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a short tag.
asStringTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
Get this tag as a string tag.

B

booleanValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
Get the value as a boolean.
0 -> false
!= 0 -> true
byClass(Class<? extends NbtTag>) - Static method in enum net.lenni0451.mcstructs.nbt.NbtType
Get a type by its class.
byDataType(Class<?>) - Static method in enum net.lenni0451.mcstructs.nbt.NbtType
Get a type by its primitive class.
byId(int) - Static method in enum net.lenni0451.mcstructs.nbt.NbtType
Get a type by its id.
byName(String) - Static method in enum net.lenni0451.mcstructs.nbt.NbtType
Get a type by its name.
ByteArrayTag - Class in net.lenni0451.mcstructs.nbt.tags
 
ByteArrayTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
Create an empty byte array tag.
ByteArrayTag(ListTag<ByteTag>) - Constructor for class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
Create a byte array tag from a ByteTag ListTag.
ByteArrayTag(byte[]) - Constructor for class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
Create a byte array tag from a byte array.
ByteTag - Class in net.lenni0451.mcstructs.nbt.tags
 
ByteTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.ByteTag
Create a byte tag with the value 0.
ByteTag(byte) - Constructor for class net.lenni0451.mcstructs.nbt.tags.ByteTag
Create a byte tag with the given value.
ByteTag(boolean) - Constructor for class net.lenni0451.mcstructs.nbt.tags.ByteTag
Create a byte tag with the given boolean value.
true -> 1
false -> 0
byteValue() - Method in interface net.lenni0451.mcstructs.nbt.NbtNumber
 
byteValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
byteValue() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
byteValue() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
byteValue() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
byteValue() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
byteValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 

C

canAdd(NbtTag) - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
Check if the tag can be added to the list.
canAdd(NbtType) - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
Check if the type can be added to the list.
CompoundTag - Class in net.lenni0451.mcstructs.nbt.tags
 
CompoundTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Create an empty compound tag.
CompoundTag(Map<String, NbtTag>) - Constructor for class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Create a compound tag from a map.
contains(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get if the map contains a tag with the given name.
contains(String, NbtType) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get if the map contains a tag with the given name and type.
If the type is a NbtNumber any number type will be accepted.
containsExact(String, NbtType) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get if the map contains a tag with the given name and exact type.
convert(Object) - Static method in class net.lenni0451.mcstructs.nbt.utils.ObjectTagConverter
 
convertList(List<?>) - Static method in class net.lenni0451.mcstructs.nbt.utils.ObjectTagConverter
 
convertMap(Map<?, ?>) - Static method in class net.lenni0451.mcstructs.nbt.utils.ObjectTagConverter
 
copy() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 
copy() - Method in class net.lenni0451.mcstructs.nbt.tags.StringTag
 

D

DEFAULT_MAX_BYTES - Static variable in class net.lenni0451.mcstructs.nbt.io.NbtReadTracker
The default max bytes that can be read.
DEFAULT_MAX_DEPTH - Static variable in class net.lenni0451.mcstructs.nbt.io.NbtReadTracker
The default max depth that can be read.
DoubleTag - Class in net.lenni0451.mcstructs.nbt.tags
 
DoubleTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.DoubleTag
Create a double tag with the value 0.
DoubleTag(double) - Constructor for class net.lenni0451.mcstructs.nbt.tags.DoubleTag
Create a double tag with the given value.
doubleValue() - Method in interface net.lenni0451.mcstructs.nbt.NbtNumber
 
doubleValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
doubleValue() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
doubleValue() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
doubleValue() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
doubleValue() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
doubleValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 

E

END - Static variable in class net.lenni0451.mcstructs.nbt.io.NbtHeader
The header of an NbtType.END tag.
equals(Object) - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 
equals(Object) - Method in class net.lenni0451.mcstructs.nbt.tags.StringTag
 

F

FloatTag - Class in net.lenni0451.mcstructs.nbt.tags
 
FloatTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.FloatTag
Create a float tag with the value 0.
FloatTag(float) - Constructor for class net.lenni0451.mcstructs.nbt.tags.FloatTag
Create a float tag with the given value.
floatValue() - Method in interface net.lenni0451.mcstructs.nbt.NbtNumber
 
floatValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
floatValue() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
floatValue() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
floatValue() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
floatValue() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
floatValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 

G

get(int) - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
Get a byte from the array.
get(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a tag from the map.
get(String, T) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a tag from the map or the default value.
get(int) - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
Get an int from the array.
get(int) - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
Get a tag from the list.
get(int) - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
Get a long from the array.
getBoolean(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a boolean from the map.
Booleans are stored as bytes with 0 being false and everything else being true.
getBoolean(String, boolean) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a boolean from the map or the default value.
Booleans are stored as bytes with 0 being false and everything else being true.
getByte(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a byte from the map.
getByte(String, byte) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a byte from the map or the default value.
getByteArray(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a byte array from the map.
getByteArray(String, byte[]) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a byte array from the map or the default value.
getCompound(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a compound from the map.
getCompound(String, CompoundTag) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a compound from the map or the default value.
getDataType() - Method in enum net.lenni0451.mcstructs.nbt.NbtType
 
getDouble(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a double from the map.
getDouble(String, double) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a double from the map or the default value.
getFloat(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a float from the map.
getFloat(String, float) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a float from the map or the default value.
getId() - Method in enum net.lenni0451.mcstructs.nbt.NbtType
 
getInt(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get an int from the map.
getInt(String, int) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get an int from the map or the default value.
getIntArray(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get an int array from the map.
getIntArray(String, int[]) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get an int array from the map or the default value.
getLength() - Method in interface net.lenni0451.mcstructs.nbt.NbtArray
 
getLength() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
getLength() - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
getLength() - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 
getList(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a list from the map.
getList(String, ListTag<T>) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a list from the map or the default value.
getList(String, NbtType) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a list from the map with the given type.
If the list does not contain the given type, an empty list is returned.
getList(String, NbtType, ListTag<T>) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a list from the map with the given type or the default value.
If the list does not contain the given type, the default value is returned.
getLong(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a long from the map.
getLong(String, long) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a long from the map or the default value.
getLongArray(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a long array from the map.
getLongArray(String, long[]) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a long array from the map or the default value.
getName() - Method in class net.lenni0451.mcstructs.nbt.io.NamedTag
 
getName() - Method in class net.lenni0451.mcstructs.nbt.io.NbtHeader
 
getNbtType() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 
getNbtType() - Method in class net.lenni0451.mcstructs.nbt.tags.StringTag
 
getReader() - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtReadWrapper
 
getReader() - Method in class net.lenni0451.mcstructs.nbt.io.NbtIO
 
getShort(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a short from the map.
getShort(String, short) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a short from the map or the default value.
getString(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a string from the map.
getString(String, String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Get a string from the map or the default value.
getTag() - Method in class net.lenni0451.mcstructs.nbt.io.NamedTag
Get the tag.
getTagClass() - Method in enum net.lenni0451.mcstructs.nbt.NbtType
 
getType() - Method in class net.lenni0451.mcstructs.nbt.io.NamedTag
 
getType() - Method in class net.lenni0451.mcstructs.nbt.io.NbtHeader
 
getType() - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
 
getValue() - Method in interface net.lenni0451.mcstructs.nbt.NbtArray
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 
getValue() - Method in class net.lenni0451.mcstructs.nbt.tags.StringTag
 
getWriter() - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtWriteWrapper
 
getWriter() - Method in class net.lenni0451.mcstructs.nbt.io.NbtIO
 

H

hashCode() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 
hashCode() - Method in class net.lenni0451.mcstructs.nbt.tags.StringTag
 

I

IntArrayTag - Class in net.lenni0451.mcstructs.nbt.tags
 
IntArrayTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
Create an empty int array tag.
IntArrayTag(ListTag<IntTag>) - Constructor for class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
Create an int array tag from a IntTag ListTag.
IntArrayTag(int[]) - Constructor for class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
Create an int array tag from an int array.
IntTag - Class in net.lenni0451.mcstructs.nbt.tags
 
IntTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.IntTag
Create an int tag with the value 0.
IntTag(int) - Constructor for class net.lenni0451.mcstructs.nbt.tags.IntTag
Create an int tag with the given value.
intValue() - Method in interface net.lenni0451.mcstructs.nbt.NbtNumber
 
intValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
intValue() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
intValue() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
intValue() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
intValue() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
intValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 
isArrayTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isByteArrayTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isByteTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isCompoundTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isDoubleTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isEmpty() - Method in interface net.lenni0451.mcstructs.nbt.NbtArray
 
isEmpty() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
isEmpty() - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
 
isEmpty() - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
isEmpty() - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
 
isEmpty() - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 
isEnd() - Method in class net.lenni0451.mcstructs.nbt.io.NbtHeader
 
isFloatTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isIntArrayTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isIntTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isListTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isLongArrayTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isLongTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isNumber() - Method in enum net.lenni0451.mcstructs.nbt.NbtType
 
isNumberTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isShortTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
isStringTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
iterator() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
iterator() - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
 
iterator() - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
iterator() - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
 
iterator() - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 

L

LATEST - Static variable in class net.lenni0451.mcstructs.nbt.io.NbtIO
The latest NbtIO.
ListTag<T extends NbtTag> - Class in net.lenni0451.mcstructs.nbt.tags
 
ListTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.ListTag
Create an empty list tag.
ListTag(NbtType) - Constructor for class net.lenni0451.mcstructs.nbt.tags.ListTag
Create a list tag with the given type.
ListTag(List<T>) - Constructor for class net.lenni0451.mcstructs.nbt.tags.ListTag
Create a list tag from a List.
ListTag(NbtType, List<T>) - Constructor for class net.lenni0451.mcstructs.nbt.tags.ListTag
Create a list tag from a type and a List.
LongArrayTag - Class in net.lenni0451.mcstructs.nbt.tags
 
LongArrayTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
Create an empty long array tag.
LongArrayTag(ListTag<LongTag>) - Constructor for class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
Create a long array tag from a LongTag ListTag.
LongArrayTag(long[]) - Constructor for class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
Create a long array tag from a long array.
LongTag - Class in net.lenni0451.mcstructs.nbt.tags
 
LongTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.LongTag
Create a long tag with the value 0.
LongTag(long) - Constructor for class net.lenni0451.mcstructs.nbt.tags.LongTag
Create a long tag with the given value.
longValue() - Method in interface net.lenni0451.mcstructs.nbt.NbtNumber
 
longValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
longValue() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
longValue() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
longValue() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
longValue() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
longValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 

M

MARKER_KEY - Static variable in class net.lenni0451.mcstructs.nbt.utils.NbtCodecUtils
 

N

NamedTag - Class in net.lenni0451.mcstructs.nbt.io
A class containing a nbt tag and its name.
NamedTag(String, NbtType, NbtTag) - Constructor for class net.lenni0451.mcstructs.nbt.io.NamedTag
 
NbtArray<TYPE extends NbtArray<TYPE,PRIMITIVE_TAG,ARRAY,PRIMITIVE>,PRIMITIVE_TAG extends NbtTag,ARRAY,PRIMITIVE> - Interface in net.lenni0451.mcstructs.nbt
An interface for all Nbt array tags.
NbtCodecUtils - Class in net.lenni0451.mcstructs.nbt.utils
 
NbtCodecUtils() - Constructor for class net.lenni0451.mcstructs.nbt.utils.NbtCodecUtils
 
NbtHeader - Class in net.lenni0451.mcstructs.nbt.io
The header of a Nbt tag.
This is only used for reading/writing.
NbtHeader(NbtType, String) - Constructor for class net.lenni0451.mcstructs.nbt.io.NbtHeader
 
NbtIO - Class in net.lenni0451.mcstructs.nbt.io
 
NbtIO(NbtReader, NbtWriter) - Constructor for class net.lenni0451.mcstructs.nbt.io.NbtIO
 
NbtNumber - Interface in net.lenni0451.mcstructs.nbt
An interface for all numeric Nbt tags.
NbtReader - Interface in net.lenni0451.mcstructs.nbt.io.impl
 
NbtReader_v1_0_0 - Class in net.lenni0451.mcstructs.nbt.io.impl.v1_0_0
The Nbt reader implementation for the Java Edition Nbt format.
NbtReader_v1_0_0() - Constructor for class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
NbtReader_v1_12 - Class in net.lenni0451.mcstructs.nbt.io.impl.v1_12
The Nbt reader implementation for the Java Edition Nbt format.
NbtReader_v1_12() - Constructor for class net.lenni0451.mcstructs.nbt.io.impl.v1_12.NbtReader_v1_12
 
NbtReader_v1_2_1 - Class in net.lenni0451.mcstructs.nbt.io.impl.v1_2_1
The Nbt reader implementation for the Java Edition Nbt format.
NbtReader_v1_2_1() - Constructor for class net.lenni0451.mcstructs.nbt.io.impl.v1_2_1.NbtReader_v1_2_1
 
NbtReadException - Exception in net.lenni0451.mcstructs.nbt.exceptions
This exception is thrown when the Nbt reader encounters an invalid Nbt tag.
NbtReadException(String) - Constructor for exception net.lenni0451.mcstructs.nbt.exceptions.NbtReadException
 
NbtReadTracker - Class in net.lenni0451.mcstructs.nbt.io
The Nbt read tracker is used to limit the size of Nbt data that is read.
If you do not want any size constraints you can use NbtReadTracker.unlimitedDepth().
NbtReadTracker() - Constructor for class net.lenni0451.mcstructs.nbt.io.NbtReadTracker
Create a new read tracker with the default max bytes (NbtReadTracker.DEFAULT_MAX_BYTES) and max depth (NbtReadTracker.DEFAULT_MAX_DEPTH).
NbtReadTracker(long) - Constructor for class net.lenni0451.mcstructs.nbt.io.NbtReadTracker
Create a new read tracker with the given max bytes and the default max depth (NbtReadTracker.DEFAULT_MAX_DEPTH).
NbtReadTracker(int, long) - Constructor for class net.lenni0451.mcstructs.nbt.io.NbtReadTracker
Create a new read tracker with the given max bytes and max depth.
NbtReadWrapper - Interface in net.lenni0451.mcstructs.nbt.io.internal
A wrapper class containing methods to read Nbt tags from different sources.
NbtTag - Interface in net.lenni0451.mcstructs.nbt
The base interface for all Nbt tags.
NbtType - Enum in net.lenni0451.mcstructs.nbt
The list of Nbt types.
NbtWriter - Interface in net.lenni0451.mcstructs.nbt.io.impl
 
NbtWriter_v1_0_0 - Class in net.lenni0451.mcstructs.nbt.io.impl.v1_0_0
The Nbt writer implementation for the Java Edition Nbt format.
NbtWriter_v1_0_0() - Constructor for class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
NbtWriter_v1_12 - Class in net.lenni0451.mcstructs.nbt.io.impl.v1_12
The Nbt writer implementation for the Java Edition Nbt format.
NbtWriter_v1_12() - Constructor for class net.lenni0451.mcstructs.nbt.io.impl.v1_12.NbtWriter_v1_12
 
NbtWriter_v1_2_1 - Class in net.lenni0451.mcstructs.nbt.io.impl.v1_2_1
The Nbt writer implementation for the Java Edition Nbt format.
NbtWriter_v1_2_1() - Constructor for class net.lenni0451.mcstructs.nbt.io.impl.v1_2_1.NbtWriter_v1_2_1
 
NbtWriteWrapper - Interface in net.lenni0451.mcstructs.nbt.io.internal
A wrapper class containing methods to write Nbt tags to different sources.
net.lenni0451.mcstructs.nbt - package net.lenni0451.mcstructs.nbt
 
net.lenni0451.mcstructs.nbt.exceptions - package net.lenni0451.mcstructs.nbt.exceptions
 
net.lenni0451.mcstructs.nbt.io - package net.lenni0451.mcstructs.nbt.io
 
net.lenni0451.mcstructs.nbt.io.impl - package net.lenni0451.mcstructs.nbt.io.impl
 
net.lenni0451.mcstructs.nbt.io.impl.v1_0_0 - package net.lenni0451.mcstructs.nbt.io.impl.v1_0_0
 
net.lenni0451.mcstructs.nbt.io.impl.v1_12 - package net.lenni0451.mcstructs.nbt.io.impl.v1_12
 
net.lenni0451.mcstructs.nbt.io.impl.v1_2_1 - package net.lenni0451.mcstructs.nbt.io.impl.v1_2_1
 
net.lenni0451.mcstructs.nbt.io.internal - package net.lenni0451.mcstructs.nbt.io.internal
 
net.lenni0451.mcstructs.nbt.tags - package net.lenni0451.mcstructs.nbt.tags
 
net.lenni0451.mcstructs.nbt.utils - package net.lenni0451.mcstructs.nbt.utils
 
newInstance() - Method in enum net.lenni0451.mcstructs.nbt.NbtType
 
numberValue() - Method in interface net.lenni0451.mcstructs.nbt.NbtNumber
 
numberValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
numberValue() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
numberValue() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
numberValue() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
numberValue() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
numberValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 

O

ObjectTagConverter - Class in net.lenni0451.mcstructs.nbt.utils
 
ObjectTagConverter() - Constructor for class net.lenni0451.mcstructs.nbt.utils.ObjectTagConverter
 

P

popDepth() - Method in class net.lenni0451.mcstructs.nbt.io.NbtReadTracker
Pop a depth level.
pushDepth() - Method in class net.lenni0451.mcstructs.nbt.io.NbtReadTracker
Push a new depth level.

R

read(NbtType, DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a Nbt tag by its type.
Automatically calls the correct method for the tag type.
read(InputStream, boolean, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtReadWrapper
Read a Nbt tag from an input stream.
read(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtReadWrapper
Read a Nbt tag from a DataInput.
read(long) - Method in class net.lenni0451.mcstructs.nbt.io.NbtReadTracker
Read the given amount of bytes.
read(long, long) - Method in class net.lenni0451.mcstructs.nbt.io.NbtReadTracker
Read the given amount of bytes multiplied by the given multiplier.
readByte(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a byte tag.
readByte(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readByteArray(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a byte array tag.
readByteArray(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readCompound(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a compound tag.
readCompound(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readCompressedFile(File, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtReadWrapper
Read a compressed Nbt tag from a file.
readDouble(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a double tag.
readDouble(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readFile(File, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtReadWrapper
Read an uncompressed Nbt tag from a file.
readFile(File, boolean, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtReadWrapper
Read a Nbt tag from a file.
readFloat(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a float tag.
readFloat(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readHeader(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read the header of a Nbt tag.
readHeader(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readInt(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a int tag.
readInt(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readIntArray(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a int array tag.
readIntArray(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_2_1.NbtReader_v1_2_1
 
readList(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a list tag.
readList(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readLong(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a long tag.
readLong(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readLongArray(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a long array tag.
readLongArray(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_12.NbtReader_v1_12
 
readNamed(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtReadWrapper
Read a named Nbt tag from a DataInput.
readShort(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a short tag.
readShort(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readString(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a string tag.
readString(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readType(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtReader
Read a Nbt type.
readType(DataInput, NbtReadTracker) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtReader_v1_0_0
 
readUnnamed(DataInput, NbtReadTracker) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtReadWrapper
Read an unnamed Nbt tag from a DataInput.
Unnamed tags are a network only feature of Minecraft 1.20.2+!
You probably need to use NbtReadWrapper.read(DataInput, NbtReadTracker) instead!
remove(String) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Remove a tag from the map.
remove(T) - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
Remove a tag from the list.

S

set(int, byte) - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
Set a byte in the array.
set(int, int) - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
Set an int in the array.
set(int, T) - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
Set a tag in the list.
set(int, long) - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
Set a long in the array.
setValue(ARRAY) - Method in interface net.lenni0451.mcstructs.nbt.NbtArray
Set the array value.
setValue(byte[]) - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
setValue(byte) - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
Set the byte value.
setValue(boolean) - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
Set the value to the given boolean value.
true -> 1
false -> 0
setValue(Map<String, NbtTag>) - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Set the map value.
setValue(double) - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
Set the double value.
setValue(float) - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
Set the float value.
setValue(int[]) - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
setValue(int) - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
Set the int value.
setValue(List<T>) - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
Set the list value.
setValue(long[]) - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 
setValue(long) - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
Set the long value.
setValue(short) - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
Set the short value.
setValue(String) - Method in class net.lenni0451.mcstructs.nbt.tags.StringTag
Set the string value.
ShortTag - Class in net.lenni0451.mcstructs.nbt.tags
 
ShortTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.ShortTag
Create a short tag with the value 0.
ShortTag(short) - Constructor for class net.lenni0451.mcstructs.nbt.tags.ShortTag
Create a short tag with the given value.
shortValue() - Method in interface net.lenni0451.mcstructs.nbt.NbtNumber
 
shortValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
shortValue() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
shortValue() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
shortValue() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
shortValue() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
shortValue() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 
size() - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
 
size() - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
 
StringTag - Class in net.lenni0451.mcstructs.nbt.tags
 
StringTag() - Constructor for class net.lenni0451.mcstructs.nbt.tags.StringTag
Create a string tag with the value "".
StringTag(String) - Constructor for class net.lenni0451.mcstructs.nbt.tags.StringTag
Create a string tag with the given value.

T

toListTag() - Method in interface net.lenni0451.mcstructs.nbt.NbtArray
 
toListTag() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
toListTag() - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
toListTag() - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 
toString() - Method in interface net.lenni0451.mcstructs.nbt.NbtTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteArrayTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.ByteTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.DoubleTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.FloatTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.IntArrayTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.IntTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.LongArrayTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.LongTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.ShortTag
 
toString() - Method in class net.lenni0451.mcstructs.nbt.tags.StringTag
 
trim() - Method in class net.lenni0451.mcstructs.nbt.tags.CompoundTag
Trim the map by removing empty tags.
trim() - Method in class net.lenni0451.mcstructs.nbt.tags.ListTag
Trim the list by removing empty tags.

U

UnknownTagTypeException - Exception in net.lenni0451.mcstructs.nbt.exceptions
This exception is thrown when a tag type is unknown.
UnknownTagTypeException(int) - Constructor for exception net.lenni0451.mcstructs.nbt.exceptions.UnknownTagTypeException
 
UnknownTagTypeException(Class<?>) - Constructor for exception net.lenni0451.mcstructs.nbt.exceptions.UnknownTagTypeException
 
unlimitedDepth() - Static method in class net.lenni0451.mcstructs.nbt.io.NbtReadTracker
Create an unlimited bytes read tracker.
The depth (NbtReadTracker.DEFAULT_MAX_DEPTH) is still limited.
unwrapMarkers(ListTag<?>) - Static method in class net.lenni0451.mcstructs.nbt.utils.NbtCodecUtils
 

V

V1_0_0 - Static variable in class net.lenni0451.mcstructs.nbt.io.NbtIO
NbtIO for version 1.0.0 and higher.
Does not support int arrays and long arrays.
V1_12 - Static variable in class net.lenni0451.mcstructs.nbt.io.NbtIO
NbtIO for version 1.12 and higher.
V1_2_1 - Static variable in class net.lenni0451.mcstructs.nbt.io.NbtIO
NbtIO for version 1.2.1 and higher.
Does not support long arrays.
valueOf(String) - Static method in enum net.lenni0451.mcstructs.nbt.NbtType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.lenni0451.mcstructs.nbt.NbtType
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrapIfRequired(List<NbtTag>) - Static method in class net.lenni0451.mcstructs.nbt.utils.NbtCodecUtils
 
wrapMarkers(List<NbtTag>) - Static method in class net.lenni0451.mcstructs.nbt.utils.NbtCodecUtils
 
write(DataOutput, NbtTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a generic Nbt tag.
Automatically calls the correct method for the tag type.
write(OutputStream, String, NbtTag, boolean) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtWriteWrapper
Write a Nbt tag to an output stream.
write(DataOutput, String, NbtTag) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtWriteWrapper
Write a Nbt tag to a DataOutput.
writeByte(DataOutput, ByteTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a byte tag.
writeByte(DataOutput, ByteTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeByteArray(DataOutput, ByteArrayTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a byte array tag.
writeByteArray(DataOutput, ByteArrayTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeCompound(DataOutput, CompoundTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a compound tag.
writeCompound(DataOutput, CompoundTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeCompressedFile(File, String, NbtTag) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtWriteWrapper
Write a compressed Nbt tag to a file.
writeDouble(DataOutput, DoubleTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a double tag.
writeDouble(DataOutput, DoubleTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeFile(File, String, NbtTag) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtWriteWrapper
Write and uncompressed Nbt tag to a file.
writeFile(File, String, NbtTag, boolean) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtWriteWrapper
Write a Nbt tag to a file.
writeFloat(DataOutput, FloatTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a float tag.
writeFloat(DataOutput, FloatTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeHeader(DataOutput, NbtHeader) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write the header of a Nbt tag.
writeHeader(DataOutput, NbtHeader) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeInt(DataOutput, IntTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write an int tag.
writeInt(DataOutput, IntTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeIntArray(DataOutput, IntArrayTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write an int array tag.
writeIntArray(DataOutput, IntArrayTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_2_1.NbtWriter_v1_2_1
 
writeList(DataOutput, ListTag<?>) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a list tag.
writeList(DataOutput, ListTag<?>) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeLong(DataOutput, LongTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a long tag.
writeLong(DataOutput, LongTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeLongArray(DataOutput, LongArrayTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a long array tag.
Long array tags have been added in 1.12.
writeLongArray(DataOutput, LongArrayTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_12.NbtWriter_v1_12
 
writeShort(DataOutput, ShortTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a short tag.
writeShort(DataOutput, ShortTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeString(DataOutput, StringTag) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a string tag.
writeString(DataOutput, StringTag) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeType(DataOutput, NbtType) - Method in interface net.lenni0451.mcstructs.nbt.io.impl.NbtWriter
Write a Nbt type.
writeType(DataOutput, NbtType) - Method in class net.lenni0451.mcstructs.nbt.io.impl.v1_0_0.NbtWriter_v1_0_0
 
writeUnnamed(DataOutput, NbtTag) - Method in interface net.lenni0451.mcstructs.nbt.io.internal.NbtWriteWrapper
Write an unnamed Nbt tag to a DataOutput.
Unnamed tags are a network only feature of Minecraft 1.20.2+!
You probably need to use NbtWriteWrapper.write(DataOutput, String, NbtTag) instead!
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links