Package net.minecraft.entity.attribute
Class DefaultAttributeContainer.Builder
java.lang.Object
net.minecraft.entity.attribute.DefaultAttributeContainer.Builder
- Enclosing class:
- DefaultAttributeContainer
public static class DefaultAttributeContainer.Builder extends Object
- Mappings:
Namespace Name official ash$a
intermediary net/minecraft/class_5132$class_5133
named net/minecraft/entity/attribute/DefaultAttributeContainer$Builder
-
Field Summary
Fields Modifier and Type Field Description private Map<EntityAttribute,EntityAttributeInstance>
instances
private boolean
unmodifiable
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DefaultAttributeContainer.Builder
add(EntityAttribute attribute)
DefaultAttributeContainer.Builder
add(EntityAttribute attribute, double baseValue)
DefaultAttributeContainer
build()
private EntityAttributeInstance
checkedAdd(EntityAttribute attribute)
-
Field Details
-
instances
- Mappings:
Namespace Name Mixin selector official a
Lash$a;a:Ljava/util/Map;
intermediary field_23714
Lnet/minecraft/class_5132$class_5133;field_23714:Ljava/util/Map;
named instances
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;instances:Ljava/util/Map;
-
unmodifiable
private boolean unmodifiable- Mappings:
Namespace Name Mixin selector official b
Lash$a;b:Z
intermediary field_23715
Lnet/minecraft/class_5132$class_5133;field_23715:Z
named unmodifiable
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;unmodifiable:Z
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
checkedAdd
- Mappings:
Namespace Name Mixin selector official b
Lash$a;b(Lasd;)Lase;
intermediary method_26870
Lnet/minecraft/class_5132$class_5133;method_26870(Lnet/minecraft/class_1320;)Lnet/minecraft/class_1324;
named checkedAdd
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;checkedAdd(Lnet/minecraft/entity/attribute/EntityAttribute;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
-
add
- Mappings:
Namespace Name Mixin selector official a
Lash$a;a(Lasd;)Lash$a;
intermediary method_26867
Lnet/minecraft/class_5132$class_5133;method_26867(Lnet/minecraft/class_1320;)Lnet/minecraft/class_5132$class_5133;
named add
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;add(Lnet/minecraft/entity/attribute/EntityAttribute;)Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
add
- Mappings:
Namespace Name Mixin selector official a
Lash$a;a(Lasd;D)Lash$a;
intermediary method_26868
Lnet/minecraft/class_5132$class_5133;method_26868(Lnet/minecraft/class_1320;D)Lnet/minecraft/class_5132$class_5133;
named add
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;add(Lnet/minecraft/entity/attribute/EntityAttribute;D)Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official a
Lash$a;a()Lash;
intermediary method_26866
Lnet/minecraft/class_5132$class_5133;method_26866()Lnet/minecraft/class_5132;
named build
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;build()Lnet/minecraft/entity/attribute/DefaultAttributeContainer;
-