nova-parent
Toggle table of contents
0.19-alpha.1
jvm
Platform filter
jvm
Switch theme
Search in API
nova-parent
nova
/
xyz.xenondevs.nova.world.item
/
DataComponentMap
/
Builder
/
set
set
operator
fun
<
T
:
Any
>
set
(
type
:
DataComponentType
<
T
>
,
value
:
T
)
:
DataComponentMap.Builder
operator
fun
<
T
:
Any
>
set
(
type
:
DataComponentType.Valued
<
T
>
,
value
:
T
)
:
DataComponentMap.Builder
Sets the value of the given
type
to the given
value
.
fun
set
(
type
:
DataComponentType.NonValued
)
:
DataComponentMap.Builder
Sets the given
type
without a value.