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 km$a
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(ComponentType<T> type, T value) addAll
(ComponentMap componentSet) build()
private static ComponentMap
build
(Map<ComponentType<?>, Object> components) (package private) <T> void
put
(ComponentType<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
Lkm$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/ComponentType;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
Lkm$a;a(Lkp;Ljava/lang/Object;)Lkm$a;
-
put
- Mappings:
Namespace Name Mixin selector named put
Lnet/minecraft/component/ComponentMap$Builder;put(Lnet/minecraft/component/ComponentType;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
Lkm$a;b(Lkp;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
Lkm$a;a(Lkm;)Lkm$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
Lkm$a;a()Lkm;
-
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
Lkm$a;a(Ljava/util/Map;)Lkm;
-