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_330845_) set
(DataComponentType<T> p_332004_, T p_331566_) set
(TypedDataComponent<T> p_331321_)
-
Field Details
-
map
private final it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>,Optional<?>> map
-
-
Constructor Details
-
Builder
Builder()
-
-
Method Details
-
set
-
remove
-
set
-
build
-