NBTInt

class NBTInt(value: Int) : NBTNumber<Int>

Types

Companion
Link copied to clipboard
object Companion : NBTReaderCompanion<NBTInt>

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getValue
Link copied to clipboard
fun getValue(): Int
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toByteArray
Link copied to clipboard
open fun toByteArray(): ByteArray
toSNBT
Link copied to clipboard
open override 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
open override fun writeContents(destination: DataOutputStream)
Writes the contents of the tag to the given destination.

Properties

ID
Link copied to clipboard
open override val ID: NBTType<NBTInt>
ID of this tag type
value
Link copied to clipboard
open override val value: Int