Package net.minecraft.entity.attribute
Class DefaultAttributeContainer.Builder
java.lang.Object
net.minecraft.entity.attribute.DefaultAttributeContainer.Builder
- Enclosing class:
DefaultAttributeContainer
- Mappings:
Namespace Name named net/minecraft/entity/attribute/DefaultAttributeContainer$Builder
intermediary net/minecraft/class_5132$class_5133
official but$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ImmutableMap.Builder
<RegistryEntry<EntityAttribute>, EntityAttributeInstance> private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(RegistryEntry<EntityAttribute> attribute) add
(RegistryEntry<EntityAttribute> attribute, double baseValue) build()
private EntityAttributeInstance
checkedAdd
(RegistryEntry<EntityAttribute> attribute)
-
Field Details
-
instances
private final ImmutableMap.Builder<RegistryEntry<EntityAttribute>,EntityAttributeInstance> instances- Mappings:
Namespace Name Mixin selector named instances
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;instances:Lcom/google/common/collect/ImmutableMap$Builder;
intermediary field_23714
Lnet/minecraft/class_5132$class_5133;field_23714:Lcom/google/common/collect/ImmutableMap$Builder;
official a
Lbut$a;a:Lcom/google/common/collect/ImmutableMap$Builder;
-
unmodifiable
private boolean unmodifiable- Mappings:
Namespace Name Mixin selector named unmodifiable
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;unmodifiable:Z
intermediary field_23715
Lnet/minecraft/class_5132$class_5133;field_23715:Z
official b
Lbut$a;b:Z
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
checkedAdd
- Mappings:
Namespace Name Mixin selector named checkedAdd
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;checkedAdd(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
intermediary method_26870
Lnet/minecraft/class_5132$class_5133;method_26870(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1324;
official b
Lbut$a;b(Ljm;)Lbuq;
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;add(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
intermediary method_26867
Lnet/minecraft/class_5132$class_5133;method_26867(Lnet/minecraft/class_6880;)Lnet/minecraft/class_5132$class_5133;
official a
Lbut$a;a(Ljm;)Lbut$a;
-
add
public DefaultAttributeContainer.Builder add(RegistryEntry<EntityAttribute> attribute, double baseValue) - Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;add(Lnet/minecraft/registry/entry/RegistryEntry;D)Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
intermediary method_26868
Lnet/minecraft/class_5132$class_5133;method_26868(Lnet/minecraft/class_6880;D)Lnet/minecraft/class_5132$class_5133;
official a
Lbut$a;a(Ljm;D)Lbut$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;build()Lnet/minecraft/entity/attribute/DefaultAttributeContainer;
intermediary method_26866
Lnet/minecraft/class_5132$class_5133;method_26866()Lnet/minecraft/class_5132;
official a
Lbut$a;a()Lbut;
-