Package net.minecraft.entity.attribute
Class AbstractEntityAttribute
java.lang.Object
net.minecraft.entity.attribute.AbstractEntityAttribute
- All Implemented Interfaces:
EntityAttribute
- Direct Known Subclasses:
ClampedEntityAttribute
- Mappings:
Namespace Name official tmintermediary net/minecraft/class_1705named net/minecraft/entity/attribute/AbstractEntityAttribute
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final EntityAttributeprivate final Stringprivate boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractEntityAttribute(EntityAttribute entityAttribute, String string, double defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionbooleandoublegetId()inthashCode()booleansetTracked(boolean tracked) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.entity.attribute.EntityAttribute
clamp
-
Field Details
-
field_11926
- Mappings:
Namespace Name Mixin selector official aLtm;a:Ltj;intermediary field_11926Lnet/minecraft/class_1705;field_11926:Lnet/minecraft/class_1702;named field_11926Lnet/minecraft/entity/attribute/AbstractEntityAttribute;field_11926:Lnet/minecraft/entity/attribute/EntityAttribute;
-
id
- Mappings:
Namespace Name Mixin selector official bLtm;b:Ljava/lang/String;intermediary field_6817Lnet/minecraft/class_1705;field_6817:Ljava/lang/String;named idLnet/minecraft/entity/attribute/AbstractEntityAttribute;id:Ljava/lang/String;
-
defaultValue
private final double defaultValue- Mappings:
Namespace Name Mixin selector official cLtm;c:Dintermediary field_6818Lnet/minecraft/class_1705;field_6818:Dnamed defaultValueLnet/minecraft/entity/attribute/AbstractEntityAttribute;defaultValue:D
-
tracked
private boolean tracked- Mappings:
Namespace Name Mixin selector official dLtm;d:Zintermediary field_6819Lnet/minecraft/class_1705;field_6819:Znamed trackedLnet/minecraft/entity/attribute/AbstractEntityAttribute;tracked:Z
-
-
Constructor Details
-
AbstractEntityAttribute
protected AbstractEntityAttribute(@Nullable EntityAttribute entityAttribute, String string, double defaultValue) - Mappings:
Namespace Name Mixin selector official <init>Ltm;<init>(Ltj;Ljava/lang/String;D)Vintermediary <init>Lnet/minecraft/class_1705;<init>(Lnet/minecraft/class_1702;Ljava/lang/String;D)Vnamed <init>Lnet/minecraft/entity/attribute/AbstractEntityAttribute;<init>(Lnet/minecraft/entity/attribute/EntityAttribute;Ljava/lang/String;D)V
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceEntityAttribute- Mappings:
Namespace Name Mixin selector official aLtj;a()Ljava/lang/String;intermediary method_6184Lnet/minecraft/class_1702;method_6184()Ljava/lang/String;named getIdLnet/minecraft/entity/attribute/EntityAttribute;getId()Ljava/lang/String;
-
getDefaultValue
public double getDefaultValue()- Specified by:
getDefaultValuein interfaceEntityAttribute- Mappings:
Namespace Name Mixin selector official bLtj;b()Dintermediary method_6186Lnet/minecraft/class_1702;method_6186()Dnamed getDefaultValueLnet/minecraft/entity/attribute/EntityAttribute;getDefaultValue()D
-
isTracked
public boolean isTracked()- Specified by:
isTrackedin interfaceEntityAttribute- Mappings:
Namespace Name Mixin selector official cLtj;c()Zintermediary method_6187Lnet/minecraft/class_1702;method_6187()Znamed isTrackedLnet/minecraft/entity/attribute/EntityAttribute;isTracked()Z
-
setTracked
- Mappings:
Namespace Name Mixin selector official aLtm;a(Z)Ltm;intermediary method_6203Lnet/minecraft/class_1705;method_6203(Z)Lnet/minecraft/class_1705;named setTrackedLnet/minecraft/entity/attribute/AbstractEntityAttribute;setTracked(Z)Lnet/minecraft/entity/attribute/AbstractEntityAttribute;
-
getParent
- Specified by:
getParentin interfaceEntityAttribute- Mappings:
Namespace Name Mixin selector official dLtj;d()Ltj;intermediary method_10994Lnet/minecraft/class_1702;method_10994()Lnet/minecraft/class_1702;named getParentLnet/minecraft/entity/attribute/EntityAttribute;getParent()Lnet/minecraft/entity/attribute/EntityAttribute;
-
hashCode
public int hashCode() -
equals
-