Class AttributeContainer

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

public class AttributeContainer extends Object
Mappings:
Namespace Name
named net/minecraft/entity/attribute/AttributeContainer
intermediary net/minecraft/class_5131
official bxk
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/entity/attribute/AttributeContainer;LOGGER:Lorg/slf4j/Logger;
      intermediary field_23708 Lnet/minecraft/class_5131;field_23708:Lorg/slf4j/Logger;
      official a Lbxk;a:Lorg/slf4j/Logger;
    • custom

      Mappings:
      Namespace Name Mixin selector
      named custom Lnet/minecraft/entity/attribute/AttributeContainer;custom:Ljava/util/Map;
      intermediary field_23709 Lnet/minecraft/class_5131;field_23709:Ljava/util/Map;
      official b Lbxk;b:Ljava/util/Map;
    • tracked

      private final Set<EntityAttributeInstance> tracked
      Mappings:
      Namespace Name Mixin selector
      named tracked Lnet/minecraft/entity/attribute/AttributeContainer;tracked:Ljava/util/Set;
      intermediary field_51889 Lnet/minecraft/class_5131;field_51889:Ljava/util/Set;
      official c Lbxk;c:Ljava/util/Set;
    • pendingUpdate

      private final Set<EntityAttributeInstance> pendingUpdate
      Mappings:
      Namespace Name Mixin selector
      named pendingUpdate Lnet/minecraft/entity/attribute/AttributeContainer;pendingUpdate:Ljava/util/Set;
      intermediary field_51890 Lnet/minecraft/class_5131;field_51890:Ljava/util/Set;
      official d Lbxk;d:Ljava/util/Set;
    • fallback

      private final DefaultAttributeContainer fallback
      Mappings:
      Namespace Name Mixin selector
      named fallback Lnet/minecraft/entity/attribute/AttributeContainer;fallback:Lnet/minecraft/entity/attribute/DefaultAttributeContainer;
      intermediary field_23711 Lnet/minecraft/class_5131;field_23711:Lnet/minecraft/class_5132;
      official e Lbxk;e:Lbxm;
  • Constructor Details

    • AttributeContainer

      public AttributeContainer(DefaultAttributeContainer defaultAttributes)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/attribute/AttributeContainer;<init>(Lnet/minecraft/entity/attribute/DefaultAttributeContainer;)V
      intermediary <init> Lnet/minecraft/class_5131;<init>(Lnet/minecraft/class_5132;)V
      official <init> Lbxk;<init>(Lbxm;)V
  • Method Details

    • updateTrackedStatus

      private void updateTrackedStatus(EntityAttributeInstance instance)
      Mappings:
      Namespace Name Mixin selector
      named updateTrackedStatus Lnet/minecraft/entity/attribute/AttributeContainer;updateTrackedStatus(Lnet/minecraft/entity/attribute/EntityAttributeInstance;)V
      intermediary method_26845 Lnet/minecraft/class_5131;method_26845(Lnet/minecraft/class_1324;)V
      official a Lbxk;a(Lbxj;)V
    • getTracked

      public Set<EntityAttributeInstance> getTracked()
      Mappings:
      Namespace Name Mixin selector
      named getTracked Lnet/minecraft/entity/attribute/AttributeContainer;getTracked()Ljava/util/Set;
      intermediary method_60497 Lnet/minecraft/class_5131;method_60497()Ljava/util/Set;
      official a Lbxk;a()Ljava/util/Set;
    • getPendingUpdate

      public Set<EntityAttributeInstance> getPendingUpdate()
      Mappings:
      Namespace Name Mixin selector
      named getPendingUpdate Lnet/minecraft/entity/attribute/AttributeContainer;getPendingUpdate()Ljava/util/Set;
      intermediary method_60498 Lnet/minecraft/class_5131;method_60498()Ljava/util/Set;
      official b Lbxk;b()Ljava/util/Set;
    • getAttributesToSend

      public Collection<EntityAttributeInstance> getAttributesToSend()
      Mappings:
      Namespace Name Mixin selector
      named getAttributesToSend Lnet/minecraft/entity/attribute/AttributeContainer;getAttributesToSend()Ljava/util/Collection;
      intermediary method_26851 Lnet/minecraft/class_5131;method_26851()Ljava/util/Collection;
      official c Lbxk;c()Ljava/util/Collection;
    • getCustomInstance

      Mappings:
      Namespace Name Mixin selector
      named getCustomInstance Lnet/minecraft/entity/attribute/AttributeContainer;getCustomInstance(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
      intermediary method_45329 Lnet/minecraft/class_5131;method_45329(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1324;
      official a Lbxk;a(Ljq;)Lbxj;
    • hasAttribute

      public boolean hasAttribute(RegistryEntry<EntityAttribute> attribute)
      Mappings:
      Namespace Name Mixin selector
      named hasAttribute Lnet/minecraft/entity/attribute/AttributeContainer;hasAttribute(Lnet/minecraft/registry/entry/RegistryEntry;)Z
      intermediary method_45331 Lnet/minecraft/class_5131;method_45331(Lnet/minecraft/class_6880;)Z
      official b Lbxk;b(Ljq;)Z
    • hasModifierForAttribute

      public boolean hasModifierForAttribute(RegistryEntry<EntityAttribute> attribute, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named hasModifierForAttribute Lnet/minecraft/entity/attribute/AttributeContainer;hasModifierForAttribute(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/Identifier;)Z
      intermediary method_45330 Lnet/minecraft/class_5131;method_45330(Lnet/minecraft/class_6880;Lnet/minecraft/class_2960;)Z
      official a Lbxk;a(Ljq;Lalz;)Z
    • getValue

      public double getValue(RegistryEntry<EntityAttribute> attribute)
      Mappings:
      Namespace Name Mixin selector
      named getValue Lnet/minecraft/entity/attribute/AttributeContainer;getValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
      intermediary method_26852 Lnet/minecraft/class_5131;method_26852(Lnet/minecraft/class_6880;)D
      official c Lbxk;c(Ljq;)D
    • getBaseValue

      public double getBaseValue(RegistryEntry<EntityAttribute> attribute)
      Mappings:
      Namespace Name Mixin selector
      named getBaseValue Lnet/minecraft/entity/attribute/AttributeContainer;getBaseValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
      intermediary method_26856 Lnet/minecraft/class_5131;method_26856(Lnet/minecraft/class_6880;)D
      official d Lbxk;d(Ljq;)D
    • getModifierValue

      public double getModifierValue(RegistryEntry<EntityAttribute> attribute, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named getModifierValue Lnet/minecraft/entity/attribute/AttributeContainer;getModifierValue(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/Identifier;)D
      intermediary method_45332 Lnet/minecraft/class_5131;method_45332(Lnet/minecraft/class_6880;Lnet/minecraft/class_2960;)D
      official b Lbxk;b(Ljq;Lalz;)D
    • addTemporaryModifiers

      public void addTemporaryModifiers(Multimap<RegistryEntry<EntityAttribute>,EntityAttributeModifier> modifiersMap)
      Mappings:
      Namespace Name Mixin selector
      named addTemporaryModifiers Lnet/minecraft/entity/attribute/AttributeContainer;addTemporaryModifiers(Lcom/google/common/collect/Multimap;)V
      intermediary method_59932 Lnet/minecraft/class_5131;method_59932(Lcom/google/common/collect/Multimap;)V
      official a Lbxk;a(Lcom/google/common/collect/Multimap;)V
    • removeModifiers

      public void removeModifiers(Multimap<RegistryEntry<EntityAttribute>,EntityAttributeModifier> modifiersMap)
      Mappings:
      Namespace Name Mixin selector
      named removeModifiers Lnet/minecraft/entity/attribute/AttributeContainer;removeModifiers(Lcom/google/common/collect/Multimap;)V
      intermediary method_59935 Lnet/minecraft/class_5131;method_59935(Lcom/google/common/collect/Multimap;)V
      official b Lbxk;b(Lcom/google/common/collect/Multimap;)V
    • setFrom

      public void setFrom(AttributeContainer other)
      Mappings:
      Namespace Name Mixin selector
      named setFrom Lnet/minecraft/entity/attribute/AttributeContainer;setFrom(Lnet/minecraft/entity/attribute/AttributeContainer;)V
      intermediary method_26846 Lnet/minecraft/class_5131;method_26846(Lnet/minecraft/class_5131;)V
      official a Lbxk;a(Lbxk;)V
    • setBaseFrom

      public void setBaseFrom(AttributeContainer other)
      Mappings:
      Namespace Name Mixin selector
      named setBaseFrom Lnet/minecraft/entity/attribute/AttributeContainer;setBaseFrom(Lnet/minecraft/entity/attribute/AttributeContainer;)V
      intermediary method_60614 Lnet/minecraft/class_5131;method_60614(Lnet/minecraft/class_5131;)V
      official b Lbxk;b(Lbxk;)V
    • addPersistentModifiersFrom

      public void addPersistentModifiersFrom(AttributeContainer other)
      Mappings:
      Namespace Name Mixin selector
      named addPersistentModifiersFrom Lnet/minecraft/entity/attribute/AttributeContainer;addPersistentModifiersFrom(Lnet/minecraft/entity/attribute/AttributeContainer;)V
      intermediary method_61437 Lnet/minecraft/class_5131;method_61437(Lnet/minecraft/class_5131;)V
      official c Lbxk;c(Lbxk;)V
    • toNbt

      public NbtList toNbt()
      Mappings:
      Namespace Name Mixin selector
      named toNbt Lnet/minecraft/entity/attribute/AttributeContainer;toNbt()Lnet/minecraft/nbt/NbtList;
      intermediary method_26855 Lnet/minecraft/class_5131;method_26855()Lnet/minecraft/class_2499;
      official d Lbxk;d()Lvd;
    • readNbt

      public void readNbt(NbtList nbt)
      Mappings:
      Namespace Name Mixin selector
      named readNbt Lnet/minecraft/entity/attribute/AttributeContainer;readNbt(Lnet/minecraft/nbt/NbtList;)V
      intermediary method_26850 Lnet/minecraft/class_5131;method_26850(Lnet/minecraft/class_2499;)V
      official a Lbxk;a(Lvd;)V