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