NBTUtils

object NBTUtils

Properties

Link copied to clipboard
const val TAG_ANY_NUMERIC: Int = 99
Link copied to clipboard
const val TAG_BYTE: Int = 1
Link copied to clipboard
const val TAG_BYTE_ARRAY: Int = 7
Link copied to clipboard
const val TAG_COMPOUND: Int = 10
Link copied to clipboard
const val TAG_DOUBLE: Int = 6
Link copied to clipboard
const val TAG_END: Int = 0
Link copied to clipboard
const val TAG_FLOAT: Int = 5
Link copied to clipboard
const val TAG_INT: Int = 3
Link copied to clipboard
const val TAG_INT_ARRAY: Int = 11
Link copied to clipboard
const val TAG_LIST: Int = 9
Link copied to clipboard
const val TAG_LONG: Int = 4
Link copied to clipboard
const val TAG_LONG_ARRAY: Int = 12
Link copied to clipboard
const val TAG_SHORT: Int = 2
Link copied to clipboard
const val TAG_STRING: Int = 8
Link copied to clipboard
val TAG_TYPES: Array<TagType<*>>

Functions

Link copied to clipboard
fun convertListToStream(tag: ListTag): Stream<ItemStack>
Link copied to clipboard
fun createDoubleList(vararg doubles: Double): ListTag
Link copied to clipboard
fun createFloatList(vararg floats: Float): ListTag
Link copied to clipboard
fun createStringList(strings: Iterable<String>): ListTag
Link copied to clipboard
fun removeItemData(tag: CompoundTag): CompoundTag