public abstract class BaseAttribute extends java.lang.Object implements IAttribute
Modifier | Constructor and Description |
---|---|
protected |
BaseAttribute(IAttribute p_i45892_1_,
java.lang.String unlocalizedNameIn,
double defaultValueIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getAttributeUnlocalizedName() |
double |
getDefaultValue() |
IAttribute |
getParent() |
boolean |
getShouldWatch() |
int |
hashCode() |
BaseAttribute |
setShouldWatch(boolean shouldWatchIn) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
clampValue
protected BaseAttribute(@Nullable IAttribute p_i45892_1_, java.lang.String unlocalizedNameIn, double defaultValueIn)
public java.lang.String getAttributeUnlocalizedName()
getAttributeUnlocalizedName
in interface IAttribute
public double getDefaultValue()
getDefaultValue
in interface IAttribute
public boolean getShouldWatch()
getShouldWatch
in interface IAttribute
public BaseAttribute setShouldWatch(boolean shouldWatchIn)
@Nullable public IAttribute getParent()
getParent
in interface IAttribute
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object