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