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

[jvm]
data class NbtInt(value: Int) : NbtTag

A tag which wraps an int value.

Constructors

   
NbtInt [jvm]
fun NbtInt(signed: String)
Parses the string value as a signed int and wraps it.
NbtInt [jvm]
fun NbtInt(value: Int)

Functions

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