Package-level declarations

Contains NbtCompound access functions and conversion functions to create NbtElements

Functions

Link copied to clipboard
operator fun CompoundTag.set(key: String, value: ByteArray)
operator fun CompoundTag.set(key: String, value: IntArray)
operator fun CompoundTag.set(key: String, value: LongArray)
operator fun CompoundTag.set(key: String, value: Boolean)
operator fun CompoundTag.set(key: String, value: Byte)
operator fun CompoundTag.set(key: String, value: ByteArray)
operator fun CompoundTag.set(key: String, value: Double)
operator fun CompoundTag.set(key: String, value: Float)
operator fun CompoundTag.set(key: String, value: Int)
operator fun CompoundTag.set(key: String, value: IntArray)
operator fun CompoundTag.set(key: String, value: Long)
operator fun CompoundTag.set(key: String, value: LongArray)
operator fun CompoundTag.set(key: String, value: Short)
operator fun CompoundTag.set(key: String, value: String)
@JvmName(name = "setByteList")
operator fun CompoundTag.set(key: String, value: List<Byte>)
@JvmName(name = "setIntList")
operator fun CompoundTag.set(key: String, value: List<Int>)
@JvmName(name = "setLongList")
operator fun CompoundTag.set(key: String, value: List<Long>)
Link copied to clipboard
fun UUID.toNbt(): IntArrayTag
fun Boolean.toNbt(): ByteTag
fun Byte.toNbt(): ByteTag
fun ByteArray.toNbt(): ByteArrayTag
fun Char.toNbt(): IntTag
fun Double.toNbt(): DoubleTag
fun Float.toNbt(): FloatTag
fun Int.toNbt(): IntTag
fun IntArray.toNbt(): IntArrayTag
fun Long.toNbt(): LongTag
fun LongArray.toNbt(): LongArrayTag
fun Short.toNbt(): ShortTag
fun String.toNbt(): StringTag
fun List<Byte>.toNbt(): ByteArrayTag
fun List<Int>.toNbt(): IntArrayTag
fun List<Long>.toNbt(): LongArrayTag