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

NbtTag

[jvm]
sealed class NbtTag

The base class for Nbt Tags. All tag values are mutable.

Do not create new classes extending it.

Functions

Name Summary
deepCopy [jvm]
abstract fun deepCopy(): NbtTag
Copies all this and all nested NbtTags into new objects.
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]
abstract val stringValue: String
Returns a string representation of the tag’s value.

Inheritors

Name
NbtByte
NbtByteArray
NbtCompound
NbtDouble
NbtEnd
NbtFloat
NbtInt
NbtIntArray
NbtList
NbtLong
NbtLongArray
NbtShort
NbtString