Package net.minecraft.entity.attribute
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 qeintermediary net/minecraft/class_1768named net/minecraft/entity/attribute/AbstractEntityAttribute
-
Field Summary
Fields Modifier and Type Field Description private doubledefaultValueprivate EntityAttributefield_7552private Stringidprivate booleantracked -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractEntityAttribute(EntityAttribute entityAttribute, String string, double double2) -
Method Summary
Modifier and Type Method Description booleanequals(Object object)doublegetDefaultValue()StringgetId()EntityAttributegetParent()inthashCode()booleanisTracked()AbstractEntityAttributesetTracked(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_7552
- Mappings:
Namespace Name Mixin selector official aLqe;a:Lqb;intermediary field_7552Lnet/minecraft/class_1768;field_7552:Lnet/minecraft/class_1765;named field_7552Lnet/minecraft/entity/attribute/AbstractEntityAttribute;field_7552:Lnet/minecraft/entity/attribute/EntityAttribute;
-
id
- Mappings:
Namespace Name Mixin selector official bLqe;b:Ljava/lang/String;intermediary field_7553Lnet/minecraft/class_1768;field_7553:Ljava/lang/String;named idLnet/minecraft/entity/attribute/AbstractEntityAttribute;id:Ljava/lang/String;
-
defaultValue
private final double defaultValue- Mappings:
Namespace Name Mixin selector official cLqe;c:Dintermediary field_7554Lnet/minecraft/class_1768;field_7554:Dnamed defaultValueLnet/minecraft/entity/attribute/AbstractEntityAttribute;defaultValue:D
-
tracked
private boolean tracked- Mappings:
Namespace Name Mixin selector official dLqe;d:Zintermediary field_7555Lnet/minecraft/class_1768;field_7555:Znamed trackedLnet/minecraft/entity/attribute/AbstractEntityAttribute;tracked:Z
-
-
Constructor Details
-
AbstractEntityAttribute
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceEntityAttribute- Mappings:
Namespace Name Mixin selector official aLqb;a()Ljava/lang/String;intermediary method_7290Lnet/minecraft/class_1765;method_7290()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 bLqb;b()Dintermediary method_7292Lnet/minecraft/class_1765;method_7292()Dnamed getDefaultValueLnet/minecraft/entity/attribute/EntityAttribute;getDefaultValue()D
-
isTracked
public boolean isTracked()- Specified by:
isTrackedin interfaceEntityAttribute- Mappings:
Namespace Name Mixin selector official cLqb;c()Zintermediary method_7293Lnet/minecraft/class_1765;method_7293()Znamed isTrackedLnet/minecraft/entity/attribute/EntityAttribute;isTracked()Z
-
setTracked
- Mappings:
Namespace Name Mixin selector official aLqe;a(Z)Lqe;intermediary method_7312Lnet/minecraft/class_1768;method_7312(Z)Lnet/minecraft/class_1768;named setTrackedLnet/minecraft/entity/attribute/AbstractEntityAttribute;setTracked(Z)Lnet/minecraft/entity/attribute/AbstractEntityAttribute;
-
getParent
- Specified by:
getParentin interfaceEntityAttribute- Mappings:
Namespace Name Mixin selector official dLqb;d()Lqb;intermediary method_7294Lnet/minecraft/class_1765;method_7294()Lnet/minecraft/class_1765;named getParentLnet/minecraft/entity/attribute/EntityAttribute;getParent()Lnet/minecraft/entity/attribute/EntityAttribute;
-
hashCode
public int hashCode() -
equals
-