Package net.minestom.server.component
Interface DataComponentMap.Builder
- All Superinterfaces:
DataComponent.Holder
- Enclosing interface:
DataComponentMap
-
Method Summary
Modifier and TypeMethodDescription@NotNull DataComponentMap
build()
default @NotNull DataComponentMap.Builder
set
(@NotNull DataComponent<Unit> component) <T> @NotNull DataComponentMap.Builder
set
(@NotNull DataComponent<T> component, T value) Methods inherited from interface net.minestom.server.component.DataComponent.Holder
get, get, has
-
Method Details
-
set
@NotNull <T> @NotNull DataComponentMap.Builder set(@NotNull @NotNull DataComponent<T> component, @NotNull T value) -
set
@NotNull default @NotNull DataComponentMap.Builder set(@NotNull @NotNull DataComponent<Unit> component) -
build
-