NBTByte

class NBTByte(value: Byte) : NBTNumber<Byte>

Constructors

NBTByte
Link copied to clipboard
fun NBTByte(value: Boolean)

Types

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

Functions

asBoolean
Link copied to clipboard
fun asBoolean(): Boolean
Returns true iif the value is not 0
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getValue
Link copied to clipboard
fun getValue(): Byte
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<NBTByte>
ID of this tag type
value
Link copied to clipboard
open override val value: Byte