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

NbtInt

[jvm]
fun NbtInt(signed: String)

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

Parameters

jvm

   
signed Signed value from -2147483648 to 2147483647.

Throws

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

[jvm]
fun NbtInt(value: Int)