public class StatBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.text.DecimalFormat |
decimalFormat |
static IStatType |
distanceStatType |
static IStatType |
divideByTen |
private IStatType |
formatter |
boolean |
isIndependent |
private static java.text.NumberFormat |
numberFormat |
private IScoreCriteria |
objectiveCriteria |
private java.lang.Class<? extends IJsonSerializable> |
serializableClazz |
static IStatType |
simpleStatType |
java.lang.String |
statId |
private ITextComponent |
statName |
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
private final ITextComponent statName
public boolean isIndependent
private final IStatType formatter
private final IScoreCriteria objectiveCriteria
private java.lang.Class<? extends IJsonSerializable> serializableClazz
private static final java.text.NumberFormat numberFormat
public static IStatType simpleStatType
private static final java.text.DecimalFormat decimalFormat
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()