Class AbstractEntityAttribute

java.lang.Object
net.minecraft.entity.attribute.AbstractEntityAttribute
All Implemented Interfaces:
EntityAttribute
Direct Known Subclasses:
ClampedEntityAttribute

public abstract class AbstractEntityAttribute extends Object implements EntityAttribute
Mappings:
Namespace Name
official qe
intermediary net/minecraft/class_1705
named net/minecraft/entity/attribute/AbstractEntityAttribute
  • Field Details

    • field_11926

      private final EntityAttribute field_11926
      Mappings:
      Namespace Name Mixin selector
      official a Lqe;a:Lqb;
      intermediary field_11926 Lnet/minecraft/class_1705;field_11926:Lnet/minecraft/class_1702;
      named field_11926 Lnet/minecraft/entity/attribute/AbstractEntityAttribute;field_11926:Lnet/minecraft/entity/attribute/EntityAttribute;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official b Lqe;b:Ljava/lang/String;
      intermediary field_6817 Lnet/minecraft/class_1705;field_6817:Ljava/lang/String;
      named id Lnet/minecraft/entity/attribute/AbstractEntityAttribute;id:Ljava/lang/String;
    • defaultValue

      private final double defaultValue
      Mappings:
      Namespace Name Mixin selector
      official c Lqe;c:D
      intermediary field_6818 Lnet/minecraft/class_1705;field_6818:D
      named defaultValue Lnet/minecraft/entity/attribute/AbstractEntityAttribute;defaultValue:D
    • tracked

      private boolean tracked
      Mappings:
      Namespace Name Mixin selector
      official d Lqe;d:Z
      intermediary field_6819 Lnet/minecraft/class_1705;field_6819:Z
      named tracked Lnet/minecraft/entity/attribute/AbstractEntityAttribute;tracked:Z
  • Constructor Details

    • AbstractEntityAttribute

      protected AbstractEntityAttribute(EntityAttribute entityAttribute, String string, double defaultValue)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqe;<init>(Lqb;Ljava/lang/String;D)V
      intermediary <init> Lnet/minecraft/class_1705;<init>(Lnet/minecraft/class_1702;Ljava/lang/String;D)V
      named <init> Lnet/minecraft/entity/attribute/AbstractEntityAttribute;<init>(Lnet/minecraft/entity/attribute/EntityAttribute;Ljava/lang/String;D)V
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface EntityAttribute
      Mappings:
      Namespace Name Mixin selector
      official a Lqb;a()Ljava/lang/String;
      intermediary method_6184 Lnet/minecraft/class_1702;method_6184()Ljava/lang/String;
      named getId Lnet/minecraft/entity/attribute/EntityAttribute;getId()Ljava/lang/String;
    • getDefaultValue

      public double getDefaultValue()
      Specified by:
      getDefaultValue in interface EntityAttribute
      Mappings:
      Namespace Name Mixin selector
      official b Lqb;b()D
      intermediary method_6186 Lnet/minecraft/class_1702;method_6186()D
      named getDefaultValue Lnet/minecraft/entity/attribute/EntityAttribute;getDefaultValue()D
    • isTracked

      public boolean isTracked()
      Specified by:
      isTracked in interface EntityAttribute
      Mappings:
      Namespace Name Mixin selector
      official c Lqb;c()Z
      intermediary method_6187 Lnet/minecraft/class_1702;method_6187()Z
      named isTracked Lnet/minecraft/entity/attribute/EntityAttribute;isTracked()Z
    • setTracked

      public AbstractEntityAttribute setTracked(boolean tracked)
      Mappings:
      Namespace Name Mixin selector
      official a Lqe;a(Z)Lqe;
      intermediary method_6203 Lnet/minecraft/class_1705;method_6203(Z)Lnet/minecraft/class_1705;
      named setTracked Lnet/minecraft/entity/attribute/AbstractEntityAttribute;setTracked(Z)Lnet/minecraft/entity/attribute/AbstractEntityAttribute;
    • getParent

      public EntityAttribute getParent()
      Specified by:
      getParent in interface EntityAttribute
      Mappings:
      Namespace Name Mixin selector
      official d Lqb;d()Lqb;
      intermediary method_10994 Lnet/minecraft/class_1702;method_10994()Lnet/minecraft/class_1702;
      named getParent Lnet/minecraft/entity/attribute/EntityAttribute;getParent()Lnet/minecraft/entity/attribute/EntityAttribute;
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lqe;hashCode()I
      intermediary hashCode Lnet/minecraft/class_1705;hashCode()I
      named hashCode Lnet/minecraft/entity/attribute/AbstractEntityAttribute;hashCode()I
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lqe;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_1705;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/entity/attribute/AbstractEntityAttribute;equals(Ljava/lang/Object;)Z