Package net.minecraft.component.type
Class AttributeModifiersComponent.Builder
java.lang.Object
net.minecraft.component.type.AttributeModifiersComponent.Builder
- Enclosing class:
AttributeModifiersComponent
- Mappings:
Namespace Name named net/minecraft/component/type/AttributeModifiersComponent$Builder
intermediary net/minecraft/class_9285$class_9286
official cxm$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ImmutableList.Builder
<AttributeModifiersComponent.Entry> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) build()
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector named entries
Lnet/minecraft/component/type/AttributeModifiersComponent$Builder;entries:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_49331
Lnet/minecraft/class_9285$class_9286;field_49331:Lcom/google/common/collect/ImmutableList$Builder;
official a
Lcxm$a;a:Lcom/google/common/collect/ImmutableList$Builder;
-
-
Constructor Details
-
Builder
Builder()
-
-
Method Details
-
add
public AttributeModifiersComponent.Builder add(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) - Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/component/type/AttributeModifiersComponent$Builder;add(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/entity/attribute/EntityAttributeModifier;Lnet/minecraft/component/type/AttributeModifierSlot;)Lnet/minecraft/component/type/AttributeModifiersComponent$Builder;
intermediary method_57487
Lnet/minecraft/class_9285$class_9286;method_57487(Lnet/minecraft/class_6880;Lnet/minecraft/class_1322;Lnet/minecraft/class_9274;)Lnet/minecraft/class_9285$class_9286;
official a
Lcxm$a;a(Lji;Lbux;Lbte;)Lcxm$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/component/type/AttributeModifiersComponent$Builder;build()Lnet/minecraft/component/type/AttributeModifiersComponent;
intermediary method_57486
Lnet/minecraft/class_9285$class_9286;method_57486()Lnet/minecraft/class_9285;
official a
Lcxm$a;a()Lcxm;
-