public abstract class BaseAttribute extends java.lang.Object implements IAttribute
| Modifier and Type | Field and Description |
|---|---|
private double |
defaultValue |
private IAttribute |
field_180373_a |
private boolean |
shouldWatch |
private java.lang.String |
unlocalizedName |
| 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_) |
IAttribute |
func_180372_d() |
java.lang.String |
getAttributeUnlocalizedName() |
double |
getDefaultValue() |
boolean |
getShouldWatch() |
int |
hashCode() |
BaseAttribute |
setShouldWatch(boolean shouldWatchIn) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitclampValueprivate final IAttribute field_180373_a
private final java.lang.String unlocalizedName
private final double defaultValue
private boolean shouldWatch
protected BaseAttribute(IAttribute p_i45892_1_, java.lang.String unlocalizedNameIn, double defaultValueIn)
public java.lang.String getAttributeUnlocalizedName()
getAttributeUnlocalizedName in interface IAttributepublic double getDefaultValue()
getDefaultValue in interface IAttributepublic boolean getShouldWatch()
getShouldWatch in interface IAttributepublic BaseAttribute setShouldWatch(boolean shouldWatchIn)
public IAttribute func_180372_d()
func_180372_d in interface IAttributepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object p_equals_1_)
equals in class java.lang.Object