//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtCompound/getInt
getInt
[jvm]
fun getInt(key: String): Int
Returns the unwrapped int value.
Throws
kotlin.ClassCastException | If the NbtTag is not a NbtInt |
kotlin.NoSuchElementException | If the key is not present on the compound |