Class DefaultAttributeContainer

java.lang.Object
net.minecraft.entity.attribute.DefaultAttributeContainer

public class DefaultAttributeContainer extends Object
Mappings:
Namespace Name
named net/minecraft/entity/attribute/DefaultAttributeContainer
intermediary net/minecraft/class_5132
official buy
  • 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 Lbuy;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> Lbuy;<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 Lbuy;d(Lji;)Lbuv;
    • getValue

      public double getValue(RegistryEntry<EntityAttribute> attribute)
      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 Lbuy;a(Lji;)D
    • getBaseValue

      public double getBaseValue(RegistryEntry<EntityAttribute> attribute)
      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 Lbuy;b(Lji;)D
    • getModifierValue

      public double getModifierValue(RegistryEntry<EntityAttribute> attribute, UUID uuid)
      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 Lbuy;a(Lji;Ljava/util/UUID;)D
    • createOverride

      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 Lbuy;a(Ljava/util/function/Consumer;Lji;)Lbuv;
    • builder

      public static DefaultAttributeContainer.Builder 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 Lbuy;a()Lbuy$a;
    • has

      public boolean has(RegistryEntry<EntityAttribute> attribute)
      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 Lbuy;c(Lji;)Z
    • hasModifier

      public boolean hasModifier(RegistryEntry<EntityAttribute> attribute, UUID uuid)
      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 Lbuy;b(Lji;Ljava/util/UUID;)Z