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

NbtLongArray

[jvm]
data class NbtLongArray(value: LongArray) : NbtTag

A tag which wraps a mutable long array.

Constructors

   
NbtLongArray [jvm]
fun NbtLongArray()
Creates a new tag with an empty array.
NbtLongArray [jvm]
fun NbtLongArray(value: String)
Parses the string using the same structure which is returned by stringValue.
NbtLongArray [jvm]
fun NbtLongArray(value: LongArray)

Functions

Name Summary
deepCopy [jvm]
open override fun deepCopy(): NbtLongArray
Returns a new wrapper with a copy of the current value.
equals [jvm]
open operator override fun equals(other: Any?): Boolean
Properly checks the equality of the array.
hashCode [jvm]
open override fun hashCode(): Int
Properly calculates the hashcode of the array.
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 with a structure similar to a normal List.
value [jvm]
var value: LongArray
The wrapped value