Creates a new compound tag.
Creates a copy of specified compound tag.
key to verify for the type
tag type to verify for, one of the ENbtDataType constants
true
if specified key exists in compound tag and it's value is
of specified type.
NBT tag of compound type by it's key. Note that a copy of existing compound tag is created so you cannot edit it directly. Use setCompoundTag method to apply changes or use getCompoundTagNoClone to edit it directly.
Directly editable NBT tag of byte type by it's key. Don't save reference for future usage since they get destroyed when the parent object is destroyed.
NBT tag of list type by it's key. Note that a copy of existing list tag is created so you cannot edit it directly. Use setCompoundTag method to apply changes or use getListTagNoClone to edit it directly.
Value type for the specified key. One of the ENbtDataType constants.
Puts value of compound type into compound tag.
Puts value of list type into compound tag.
Converts compound tag to JavaScript object for easier reading.
Valid JavaScript representation of compound tag.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
List tags represent NBT map-like data structure (key-value pairs). it's values may be of any type, so check the type before calling the appropriate getter.