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

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.

The NbtList and the array types will have an output similar to a normal List and NbtCompound to a normal Map.

Be aware that this may be a slow operation on big lists, arrays or compounds.