//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtCompound/getByteArrayList
getByteArrayList
[jvm]
fun getByteArrayList(key: String): NbtList<NbtByteArray>
Returns the NbtList of byte arrays mapped to that key. The tag and it’s value will be linked and any modification will also change the mapped value.
Throws
kotlin.ClassCastException | If the NbtTag is not a NbtList |
kotlin.NoSuchElementException | If the key is not present on the compound |
kotlin.IllegalStateException | If the list is not empty and contains any tag with class different then NbtByteArray |