Class DataComponentPatch.Builder
java.lang.Object
net.minecraft.core.component.DataComponentPatch.Builder
- Enclosing class:
DataComponentPatch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()remove(DataComponentType<T> type) set(Iterable<TypedDataComponent<?>> components) set(DataComponentType<T> type, T value) set(TypedDataComponent<T> component)
-
Field Details
-
map
private final it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>> map
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
set
-
remove
-
set
-
set
-
build
-