public abstract class Attribute extends java.lang.Object implements IAttribute
Modifier and Type | Field and Description |
---|---|
private double |
defaultValue |
private IAttribute |
parent |
private boolean |
shouldWatch |
private java.lang.String |
translationKey |
Modifier | Constructor and Description |
---|---|
protected |
Attribute(IAttribute parentIn,
java.lang.String unlocalizedNameIn,
double defaultValueIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
double |
getDefaultValue() |
java.lang.String |
getName() |
IAttribute |
getParent() |
boolean |
getShouldWatch() |
int |
hashCode() |
Attribute |
setShouldWatch(boolean shouldWatchIn) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
clampValue
private final IAttribute parent
private final java.lang.String translationKey
private final double defaultValue
private boolean shouldWatch
protected Attribute(@Nullable IAttribute parentIn, java.lang.String unlocalizedNameIn, double defaultValueIn)
public java.lang.String getName()
getName
in interface IAttribute
public double getDefaultValue()
getDefaultValue
in interface IAttribute
public boolean getShouldWatch()
getShouldWatch
in interface IAttribute
public Attribute 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