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 |
---|---|
ITextComponent |
createChatComponent() |
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() |
boolean |
isAchievement() |
StatBase |
registerStat() |
StatBase |
setSerializableClazz(java.lang.Class<? extends IJsonSerializable> clazz) |
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 boolean isAchievement()
public java.lang.String format(int number)
public ITextComponent getStatName()
public ITextComponent createChatComponent()
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()
public StatBase setSerializableClazz(java.lang.Class<? extends IJsonSerializable> clazz)