Package net.minecraft.entity.attribute
Class DefaultAttributeContainer
java.lang.Object
net.minecraft.entity.attribute.DefaultAttributeContainer
- Mappings:
Namespace Name named net/minecraft/entity/attribute/DefaultAttributeContainer
intermediary net/minecraft/class_5132
official buv
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<EntityAttribute>, EntityAttributeInstance> -
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
createOverride
(Consumer<EntityAttributeInstance> updateCallback, RegistryEntry<EntityAttribute> attribute) double
getBaseValue
(RegistryEntry<EntityAttribute> attribute) double
getModifierValue
(RegistryEntry<EntityAttribute> attribute, Identifier id) double
getValue
(RegistryEntry<EntityAttribute> attribute) boolean
has
(RegistryEntry<EntityAttribute> attribute) boolean
hasModifier
(RegistryEntry<EntityAttribute> attribute, Identifier id) private EntityAttributeInstance
require
(RegistryEntry<EntityAttribute> attribute)
-
Field Details
-
instances
- Mappings:
Namespace Name Mixin selector named instances
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;instances:Ljava/util/Map;
intermediary field_23713
Lnet/minecraft/class_5132;field_23713:Ljava/util/Map;
official a
Lbuv;a:Ljava/util/Map;
-
-
Constructor Details
-
DefaultAttributeContainer
DefaultAttributeContainer(Map<RegistryEntry<EntityAttribute>, EntityAttributeInstance> instances) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;<init>(Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_5132;<init>(Ljava/util/Map;)V
official <init>
Lbuv;<init>(Ljava/util/Map;)V
-
-
Method Details
-
require
- Mappings:
Namespace Name Mixin selector named require
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;require(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
intermediary method_26865
Lnet/minecraft/class_5132;method_26865(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1324;
official d
Lbuv;d(Ljm;)Lbus;
-
getValue
- Mappings:
Namespace Name Mixin selector named getValue
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;getValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
intermediary method_26862
Lnet/minecraft/class_5132;method_26862(Lnet/minecraft/class_6880;)D
official a
Lbuv;a(Ljm;)D
-
getBaseValue
- Mappings:
Namespace Name Mixin selector named getBaseValue
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;getBaseValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
intermediary method_26864
Lnet/minecraft/class_5132;method_26864(Lnet/minecraft/class_6880;)D
official b
Lbuv;b(Ljm;)D
-
getModifierValue
- Mappings:
Namespace Name Mixin selector named getModifierValue
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;getModifierValue(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/Identifier;)D
intermediary method_27308
Lnet/minecraft/class_5132;method_27308(Lnet/minecraft/class_6880;Lnet/minecraft/class_2960;)D
official a
Lbuv;a(Ljm;Lakr;)D
-
createOverride
@Nullable public @Nullable EntityAttributeInstance createOverride(Consumer<EntityAttributeInstance> updateCallback, RegistryEntry<EntityAttribute> attribute) - Mappings:
Namespace Name Mixin selector named createOverride
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;createOverride(Ljava/util/function/Consumer;Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
intermediary method_26863
Lnet/minecraft/class_5132;method_26863(Ljava/util/function/Consumer;Lnet/minecraft/class_6880;)Lnet/minecraft/class_1324;
official a
Lbuv;a(Ljava/util/function/Consumer;Ljm;)Lbus;
-
builder
- Mappings:
Namespace Name Mixin selector named builder
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;builder()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
intermediary method_26861
Lnet/minecraft/class_5132;method_26861()Lnet/minecraft/class_5132$class_5133;
official a
Lbuv;a()Lbuv$a;
-
has
- Mappings:
Namespace Name Mixin selector named has
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;has(Lnet/minecraft/registry/entry/RegistryEntry;)Z
intermediary method_27310
Lnet/minecraft/class_5132;method_27310(Lnet/minecraft/class_6880;)Z
official c
Lbuv;c(Ljm;)Z
-
hasModifier
- Mappings:
Namespace Name Mixin selector named hasModifier
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;hasModifier(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/Identifier;)Z
intermediary method_27309
Lnet/minecraft/class_5132;method_27309(Lnet/minecraft/class_6880;Lnet/minecraft/class_2960;)Z
official b
Lbuv;b(Ljm;Lakr;)Z
-