Package net.minecraft.component
Class ComponentMap.Builder
java.lang.Object
net.minecraft.component.ComponentMap.Builder
- Enclosing interface:
ComponentMap
- Mappings:
Namespace Name named net/minecraft/component/ComponentMap$Builder
intermediary net/minecraft/class_9323$class_9324
official ki$a
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(DataComponentType<T> type, T value) addAll
(ComponentMap componentSet) build()
private static ComponentMap
build
(Map<DataComponentType<?>, Object> components) (package private) <T> void
put
(DataComponentType<T> type, @Nullable Object value)
-
Field Details
-
components
- Mappings:
Namespace Name Mixin selector named components
Lnet/minecraft/component/ComponentMap$Builder;components:Lit/unimi/dsi/fastutil/objects/Reference2ObjectMap;
intermediary field_49587
Lnet/minecraft/class_9323$class_9324;field_49587:Lit/unimi/dsi/fastutil/objects/Reference2ObjectMap;
official a
Lki$a;a:Lit/unimi/dsi/fastutil/objects/Reference2ObjectMap;
-
-
Constructor Details
-
Builder
Builder()
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/component/ComponentMap$Builder;add(Lnet/minecraft/component/DataComponentType;Ljava/lang/Object;)Lnet/minecraft/component/ComponentMap$Builder;
intermediary method_57840
Lnet/minecraft/class_9323$class_9324;method_57840(Lnet/minecraft/class_9331;Ljava/lang/Object;)Lnet/minecraft/class_9323$class_9324;
official a
Lki$a;a(Lkl;Ljava/lang/Object;)Lki$a;
-
put
- Mappings:
Namespace Name Mixin selector named put
Lnet/minecraft/component/ComponentMap$Builder;put(Lnet/minecraft/component/DataComponentType;Ljava/lang/Object;)V
intermediary method_58756
Lnet/minecraft/class_9323$class_9324;method_58756(Lnet/minecraft/class_9331;Ljava/lang/Object;)V
official b
Lki$a;b(Lkl;Ljava/lang/Object;)V
-
addAll
- Mappings:
Namespace Name Mixin selector named addAll
Lnet/minecraft/component/ComponentMap$Builder;addAll(Lnet/minecraft/component/ComponentMap;)Lnet/minecraft/component/ComponentMap$Builder;
intermediary method_57839
Lnet/minecraft/class_9323$class_9324;method_57839(Lnet/minecraft/class_9323;)Lnet/minecraft/class_9323$class_9324;
official a
Lki$a;a(Lki;)Lki$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/component/ComponentMap$Builder;build()Lnet/minecraft/component/ComponentMap;
intermediary method_57838
Lnet/minecraft/class_9323$class_9324;method_57838()Lnet/minecraft/class_9323;
official a
Lki$a;a()Lki;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/component/ComponentMap$Builder;build(Ljava/util/Map;)Lnet/minecraft/component/ComponentMap;
intermediary method_58755
Lnet/minecraft/class_9323$class_9324;method_58755(Ljava/util/Map;)Lnet/minecraft/class_9323;
official a
Lki$a;a(Ljava/util/Map;)Lki;
-