Package net.minestom.server.component
Interface DataComponentMap.PatchBuilder
- All Superinterfaces:
DataComponent.Holder
- Enclosing interface:
DataComponentMap
-
Method Summary
Modifier and TypeMethodDescription@NotNull DataComponentMap
build()
@NotNull DataComponentMap.PatchBuilder
remove
(@NotNull DataComponent<?> component) default @NotNull DataComponentMap.PatchBuilder
set
(@NotNull DataComponent<Unit> component) <T> @NotNull DataComponentMap.PatchBuilder
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.PatchBuilder set(@NotNull @NotNull DataComponent<T> component, @NotNull T value) -
set
@NotNull default @NotNull DataComponentMap.PatchBuilder set(@NotNull @NotNull DataComponent<Unit> component) -
remove
@NotNull @NotNull DataComponentMap.PatchBuilder remove(@NotNull @NotNull DataComponent<?> component) -
build
-