NBT

interface NBT

Most basic representation of a NBTTag

Types

Companion
Link copied to clipboard
object Companion

Functions

toByteArray
Link copied to clipboard
open fun toByteArray(): ByteArray
toSNBT
Link copied to clipboard
abstract fun toSNBT(): String
Produces the stringified version of this NBT (or SNBT version).
toString
Link copied to clipboard
abstract override fun toString(): String
Produces a human-readable version of this tag.
writeContents
Link copied to clipboard
abstract fun writeContents(destination: DataOutputStream)
Writes the contents of the tag to the given destination.

Properties

ID
Link copied to clipboard
abstract val ID: NBTType<out NBT>
ID of this tag type
value
Link copied to clipboard
abstract val value: Any

Inheritors

NBTByteArray
Link copied to clipboard
NBTCompound
Link copied to clipboard
NBTEnd
Link copied to clipboard
NBTIntArray
Link copied to clipboard
NBTList
Link copied to clipboard
NBTLongArray
Link copied to clipboard
NBTNumber
Link copied to clipboard
NBTString
Link copied to clipboard