common
/
org.jglrxavpok.hephaistos.nbt
/
NBTByte
N
B
T
Byte
class
NBTByte
(value:
Byte
) :
NBTNumber
<
Byte
>
Content copied to clipboard
Types
Constructors
Functions
Properties
Constructors
NBTByte
Link copied to clipboard
fun
NBTByte
(value:
Boolean
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
object
Companion
:
NBTReaderCompanion
<
NBTByte
>
Content copied to clipboard
Functions
asBoolean
Link copied to clipboard
fun
asBoolean
():
Boolean
Content copied to clipboard
Returns true iif the value is not 0
equals
Link copied to clipboard
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
getValue
Link copied to clipboard
fun
getValue
():
Byte
Content copied to clipboard
hashCode
Link copied to clipboard
open override fun
hashCode
():
Int
Content copied to clipboard
toByteArray
Link copied to clipboard
open fun
toByteArray
():
ByteArray
Content copied to clipboard
toSNBT
Link copied to clipboard
open override fun
toSNBT
():
String
Content copied to clipboard
Produces the stringified version of this NBT (or SNBT version).
toString
Link copied to clipboard
open override fun
toString
():
String
Content copied to clipboard
Produces a human-readable version of this tag.
writeContents
Link copied to clipboard
open override fun
writeContents
(destination:
DataOutputStream
)
Content copied to clipboard
Writes the contents of the tag to the given destination.
Properties
ID
Link copied to clipboard
open override val
ID
:
NBTType
<
NBTByte
>
Content copied to clipboard
ID of this tag type
value
Link copied to clipboard
open override val
value
:
Byte
Content copied to clipboard