NBTTagList

class NBTTagList(rawNBT: MCNBTTagList) : NBTBase

Functions

Link copied to clipboard
fun appendTag(nbt: NBTBase): NBTTagList
fun appendTag(nbt: MCNBTBase): NBTTagList
Link copied to clipboard
operator fun get(index: Int): NBTBase
fun get(index: Int, type: NBTTagCompound.NBTDataType): Any?
Link copied to clipboard
fun getCompoundTagAt(index: Int): NBTTagCompound
Link copied to clipboard
fun getDoubleAt(index: Int): Double
Link copied to clipboard
fun getFloatAt(index: Int): Float
Link copied to clipboard
fun getIntArrayAt(index: Int): IntArray
Link copied to clipboard
fun getStringTagAt(index: Int): String
Link copied to clipboard
fun insertTag(index: Int, nbt: NBTBase): NBTTagList
fun insertTag(index: Int, nbt: MCNBTBase): NBTTagList
Link copied to clipboard
fun removeTag(index: Int): NBTBase
Link copied to clipboard
operator fun set(id: Int, nbt: NBTBase): NBTTagList
operator fun set(id: Int, nbt: MCNBTBase): NBTTagList
Link copied to clipboard
fun toArray(): NativeArray

Properties

Link copied to clipboard
open override val rawNBT: MCNBTTagList
Link copied to clipboard
val tagCount: Int

Sources

Link copied to clipboard