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/NbtLong

NbtLong

[jvm]
data class NbtLong(value: Long) : NbtTag

A tag which wraps a long value.

Constructors

   
NbtLong [jvm]
fun NbtLong(signed: String)
Parses the string value as a signed long and wraps it.
NbtLong [jvm]
fun NbtLong(value: Long)

Functions

Name Summary
deepCopy [jvm]
open override fun deepCopy(): NbtLong
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: Long
The wrapped value