Package net.minecraft.entity.attribute
Class DefaultAttributeContainer
java.lang.Object
net.minecraft.entity.attribute.DefaultAttributeContainer
- Mappings:
Namespace Name official bfi
intermediary net/minecraft/class_5132
named net/minecraft/entity/attribute/DefaultAttributeContainer
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
createOverride
(Consumer<EntityAttributeInstance> updateCallback, EntityAttribute attribute) double
getBaseValue
(EntityAttribute attribute) double
getModifierValue
(EntityAttribute attribute, UUID uuid) double
getValue
(EntityAttribute attribute) boolean
has
(EntityAttribute type) boolean
hasModifier
(EntityAttribute type, UUID uuid) private EntityAttributeInstance
require
(EntityAttribute attribute)
-
Field Details
-
instances
- Mappings:
Namespace Name Mixin selector official a
Lbfi;a:Ljava/util/Map;
intermediary field_23713
Lnet/minecraft/class_5132;field_23713:Ljava/util/Map;
named instances
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;instances:Ljava/util/Map;
-
-
Constructor Details
-
DefaultAttributeContainer
- Mappings:
Namespace Name Mixin selector official <init>
Lbfi;<init>(Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_5132;<init>(Ljava/util/Map;)V
named <init>
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;<init>(Ljava/util/Map;)V
-
-
Method Details
-
require
- Mappings:
Namespace Name Mixin selector official d
Lbfi;d(Lbfe;)Lbff;
intermediary method_26865
Lnet/minecraft/class_5132;method_26865(Lnet/minecraft/class_1320;)Lnet/minecraft/class_1324;
named require
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;require(Lnet/minecraft/entity/attribute/EntityAttribute;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
-
getValue
- Mappings:
Namespace Name Mixin selector official a
Lbfi;a(Lbfe;)D
intermediary method_26862
Lnet/minecraft/class_5132;method_26862(Lnet/minecraft/class_1320;)D
named getValue
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;getValue(Lnet/minecraft/entity/attribute/EntityAttribute;)D
-
getBaseValue
- Mappings:
Namespace Name Mixin selector official b
Lbfi;b(Lbfe;)D
intermediary method_26864
Lnet/minecraft/class_5132;method_26864(Lnet/minecraft/class_1320;)D
named getBaseValue
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;getBaseValue(Lnet/minecraft/entity/attribute/EntityAttribute;)D
-
getModifierValue
- Mappings:
Namespace Name Mixin selector official a
Lbfi;a(Lbfe;Ljava/util/UUID;)D
intermediary method_27308
Lnet/minecraft/class_5132;method_27308(Lnet/minecraft/class_1320;Ljava/util/UUID;)D
named getModifierValue
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;getModifierValue(Lnet/minecraft/entity/attribute/EntityAttribute;Ljava/util/UUID;)D
-
createOverride
@Nullable public @Nullable EntityAttributeInstance createOverride(Consumer<EntityAttributeInstance> updateCallback, EntityAttribute attribute) - Mappings:
Namespace Name Mixin selector official a
Lbfi;a(Ljava/util/function/Consumer;Lbfe;)Lbff;
intermediary method_26863
Lnet/minecraft/class_5132;method_26863(Ljava/util/function/Consumer;Lnet/minecraft/class_1320;)Lnet/minecraft/class_1324;
named createOverride
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;createOverride(Ljava/util/function/Consumer;Lnet/minecraft/entity/attribute/EntityAttribute;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
-
builder
- Mappings:
Namespace Name Mixin selector official a
Lbfi;a()Lbfi$a;
intermediary method_26861
Lnet/minecraft/class_5132;method_26861()Lnet/minecraft/class_5132$class_5133;
named builder
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;builder()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
has
- Mappings:
Namespace Name Mixin selector official c
Lbfi;c(Lbfe;)Z
intermediary method_27310
Lnet/minecraft/class_5132;method_27310(Lnet/minecraft/class_1320;)Z
named has
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;has(Lnet/minecraft/entity/attribute/EntityAttribute;)Z
-
hasModifier
- Mappings:
Namespace Name Mixin selector official b
Lbfi;b(Lbfe;Ljava/util/UUID;)Z
intermediary method_27309
Lnet/minecraft/class_5132;method_27309(Lnet/minecraft/class_1320;Ljava/util/UUID;)Z
named hasModifier
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;hasModifier(Lnet/minecraft/entity/attribute/EntityAttribute;Ljava/util/UUID;)Z
-