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 bux
-
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, UUID uuid) double
getValue
(RegistryEntry<EntityAttribute> attribute) boolean
has
(RegistryEntry<EntityAttribute> attribute) boolean
hasModifier
(RegistryEntry<EntityAttribute> attribute, UUID uuid) 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
Lbux;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>
Lbux;<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
Lbux;d(Lji;)Lbuu;
-
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
Lbux;a(Lji;)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
Lbux;b(Lji;)D
-
getModifierValue
- Mappings:
Namespace Name Mixin selector named getModifierValue
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;getModifierValue(Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/UUID;)D
intermediary method_27308
Lnet/minecraft/class_5132;method_27308(Lnet/minecraft/class_6880;Ljava/util/UUID;)D
official a
Lbux;a(Lji;Ljava/util/UUID;)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
Lbux;a(Ljava/util/function/Consumer;Lji;)Lbuu;
-
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
Lbux;a()Lbux$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
Lbux;c(Lji;)Z
-
hasModifier
- Mappings:
Namespace Name Mixin selector named hasModifier
Lnet/minecraft/entity/attribute/DefaultAttributeContainer;hasModifier(Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/UUID;)Z
intermediary method_27309
Lnet/minecraft/class_5132;method_27309(Lnet/minecraft/class_6880;Ljava/util/UUID;)Z
official b
Lbux;b(Lji;Ljava/util/UUID;)Z
-