NBT-Manipulator

A kotlin/java lib that allows you to read and write NBT data in a clean way

View on GitHub

//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtShort

NbtShort

[jvm]
data class NbtShort(value: Short) : NbtTag

A tag which wraps a short value.

Constructors

   
NbtShort [jvm]
fun NbtShort(signed: String)
Parses the string value as a signed short and wraps it.
NbtShort [jvm]
fun NbtShort(value: Short)

Functions

Name Summary
deepCopy [jvm]
open override fun deepCopy(): NbtShort
Returns a new wrapper with the current value.
toString [jvm]
override fun toString(): String
A technical string representation of this tag, containing the tag type, and it’s value, appropriated for developer inspections.

Properties

Name Summary
stringValue [jvm]
open override val stringValue: String
Returns a string representation of the tag’s value.
value [jvm]
var value: Short
The wrapped value