Package net.minecraft.src
Class StatBase
java.lang.Object
net.minecraft.src.StatBase
- Direct Known Subclasses:
Achievement,StatBasic,StatCrafting,StatPlaceholder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfunc_75968_a(int par1) getName()Initializes the current stat as independent (i.e., lacking prerequisites for being updated) and returns the current instance.booleanReturns whether or not the StatBase-derived class is a statistic (running counter) or an achievement (one-shot).Register the stat into StatList.toString()
-
Field Details
-
statId
public final int statIdThe Stat ID -
isIndependent
public boolean isIndependent -
statGuid
Holds the GUID of the stat. -
simpleStatType
-
timeStatType
-
distanceStatType
-
field_111202_k
-
-
Constructor Details
-
StatBase
-
StatBase
-
-
Method Details
-
initIndependentStat
Initializes the current stat as independent (i.e., lacking prerequisites for being updated) and returns the current instance. -
registerStat
Register the stat into StatList. -
isAchievement
public boolean isAchievement()Returns whether or not the StatBase-derived class is a statistic (running counter) or an achievement (one-shot). -
func_75968_a
-
getName
-
toString
-