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

NbtLong

[jvm]
fun NbtLong(signed: String)

Parses the string value as a signed long and wraps it.

Parameters

jvm

   
signed Signed value from -9223372036854775808 to 9223372036854775807.

Throws

   
kotlin.NumberFormatException if the number is not within a valid range or if the string does not contain a valid number.

[jvm]
fun NbtLong(value: Long)