//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtCompound/getList
getList
[jvm]
fun getList(key: String): NbtList<*>
Returns the NbtList mapped to that key. The tag 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 |