nova-parent
Toggle table of contents
0.18-alpha.14
jvm
Platform filter
jvm
Switch theme
Search in API
nova-parent
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