NBTNumber

abstract class NBTNumber<Type : Number>(value: Type) : NBT

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
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
open 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
open override val value: Type

Inheritors

NBTByte
Link copied to clipboard
NBTDouble
Link copied to clipboard
NBTFloat
Link copied to clipboard
NBTInt
Link copied to clipboard
NBTLong
Link copied to clipboard
NBTShort
Link copied to clipboard