toggle menu
nova-parent
0.17-alpha.34
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.util.data
/
NBTUtils
NBTUtils
object
NBTUtils
Members
Properties
TAG_ANY_NUMERIC
Link copied to clipboard
const
val
TAG_ANY_NUMERIC
:
Int
=
99
TAG_BYTE
Link copied to clipboard
const
val
TAG_BYTE
:
Int
=
1
TAG_BYTE_ARRAY
Link copied to clipboard
const
val
TAG_BYTE_ARRAY
:
Int
=
7
TAG_COMPOUND
Link copied to clipboard
const
val
TAG_COMPOUND
:
Int
=
10
TAG_DOUBLE
Link copied to clipboard
const
val
TAG_DOUBLE
:
Int
=
6
TAG_END
Link copied to clipboard
const
val
TAG_END
:
Int
=
0
TAG_FLOAT
Link copied to clipboard
const
val
TAG_FLOAT
:
Int
=
5
TAG_INT
Link copied to clipboard
const
val
TAG_INT
:
Int
=
3
TAG_INT_ARRAY
Link copied to clipboard
const
val
TAG_INT_ARRAY
:
Int
=
11
TAG_LIST
Link copied to clipboard
const
val
TAG_LIST
:
Int
=
9
TAG_LONG
Link copied to clipboard
const
val
TAG_LONG
:
Int
=
4
TAG_LONG_ARRAY
Link copied to clipboard
const
val
TAG_LONG_ARRAY
:
Int
=
12
TAG_SHORT
Link copied to clipboard
const
val
TAG_SHORT
:
Int
=
2
TAG_STRING
Link copied to clipboard
const
val
TAG_STRING
:
Int
=
8
TAG_TYPES
Link copied to clipboard
val
TAG_TYPES
:
Array
<
TagType
<
*
>
>
Functions
convert
List
To
Stream
Link copied to clipboard
fun
convertListToStream
(
tag
:
ListTag
)
:
Stream
<
ItemStack
>
create
Double
List
Link copied to clipboard
fun
createDoubleList
(
vararg
doubles
:
Double
)
:
ListTag
create
Float
List
Link copied to clipboard
fun
createFloatList
(
vararg
floats
:
Float
)
:
ListTag
create
String
List
Link copied to clipboard
fun
createStringList
(
strings
:
Iterable
<
String
>
)
:
ListTag
remove
Item
Data
Link copied to clipboard
fun
removeItemData
(
tag
:
CompoundTag
)
:
CompoundTag