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_1768
named net/minecraft/entity/attribute/AbstractEntityAttribute
  • Field Details

    • field_7552

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

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official b Lqe;b:Ljava/lang/String;
      intermediary field_7553 Lnet/minecraft/class_1768;field_7553: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_7554 Lnet/minecraft/class_1768;field_7554: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_7555 Lnet/minecraft/class_1768;field_7555:Z
      named tracked Lnet/minecraft/entity/attribute/AbstractEntityAttribute;tracked:Z
  • Constructor Details

    • AbstractEntityAttribute

      protected AbstractEntityAttribute​(EntityAttribute entityAttribute, String string, double double2)
  • 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_7290 Lnet/minecraft/class_1765;method_7290()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_7292 Lnet/minecraft/class_1765;method_7292()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_7293 Lnet/minecraft/class_1765;method_7293()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_7312 Lnet/minecraft/class_1768;method_7312(Z)Lnet/minecraft/class_1768;
      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_7294 Lnet/minecraft/class_1765;method_7294()Lnet/minecraft/class_1765;
      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_1768;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_1768;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/entity/attribute/AbstractEntityAttribute;equals(Ljava/lang/Object;)Z