public class StatBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static IStatType |
distanceStatType |
static IStatType |
divideByTen |
boolean |
isIndependent |
static IStatType |
simpleStatType |
java.lang.String |
statId |
static IStatType |
timeStatType |
Constructor and Description |
---|
StatBase(java.lang.String statIdIn,
ITextComponent statNameIn) |
StatBase(java.lang.String statIdIn,
ITextComponent statNameIn,
IStatType formatterIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
format(int number) |
IScoreCriteria |
getCriteria() |
java.lang.Class<? extends IJsonSerializable> |
getSerializableClazz() |
ITextComponent |
getStatName() |
int |
hashCode() |
StatBase |
initIndependentStat() |
StatBase |
registerStat() |
java.lang.String |
toString() |
public final java.lang.String statId
public boolean isIndependent
public static IStatType simpleStatType
public static IStatType timeStatType
public static IStatType distanceStatType
public static IStatType divideByTen
public StatBase(java.lang.String statIdIn, ITextComponent statNameIn, IStatType formatterIn)
public StatBase(java.lang.String statIdIn, ITextComponent statNameIn)
public StatBase initIndependentStat()
public StatBase registerStat()
public java.lang.String format(int number)
public ITextComponent getStatName()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public IScoreCriteria getCriteria()
public java.lang.Class<? extends IJsonSerializable> getSerializableClazz()