toggle menu
silk
1.10.4
jvm
switch theme
search in API
silk-nbt
/
net.silkmc.silk.nbt
/
set
set
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
Boolean
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
Byte
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
Short
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
Int
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
Long
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
Float
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
Double
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
String
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
ByteArray
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
ByteArray
)
(
source
)
@
JvmName
(
name
=
"setByteList"
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
List
<
Byte
>
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
IntArray
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
IntArray
)
(
source
)
@
JvmName
(
name
=
"setIntList"
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
List
<
Int
>
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
LongArray
)
(
source
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
LongArray
)
(
source
)
@
JvmName
(
name
=
"setLongList"
)
operator
fun
CompoundTag
.
set
(
key
:
String
,
value
:
List
<
Long
>
)
(
source
)