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

    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official a Lrv;a: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 b Lrv;b: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 c Lrv;c: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(String string, double double2)
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface EntityAttribute
      Mappings:
      Namespace Name Mixin selector
      official a Lrs;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 Lrs;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 Lrs;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 Lrv;a(Z)Lrv;
      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;
    • hashCode

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