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.