Package net.minecraft.core.component
Class DataComponentMap.Builder
java.lang.Object
net.minecraft.core.component.DataComponentMap.Builder
- Enclosing interface:
DataComponentMap
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Reference2ObjectMap
<DataComponentType<?>, Object> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAll
(DataComponentMap p_335426_) build()
private static DataComponentMap
buildFromMapTrusted
(Map<DataComponentType<?>, Object> p_330455_) set
(DataComponentType<T> p_336133_, T p_329579_) (package private) <T> void
setUnchecked
(DataComponentType<T> p_331443_, Object p_334337_)
-
Field Details
-
map
-
-
Constructor Details
-
Builder
Builder()
-
-
Method Details
-
set
-
setUnchecked
-
addAll
-
build
-
buildFromMapTrusted
-