YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.stats.StatBase Class Reference
Inheritance diagram for net.minecraft.stats.StatBase:
net.minecraft.client.stats.StatPlaceholder net.minecraft.stats.Achievement net.minecraft.stats.StatBasic net.minecraft.stats.StatCrafting

Public Member Functions

 StatBase (int par1, String par2Str, IStatType par3IStatType)
 
 StatBase (int par1, String par2Str)
 
StatBase initIndependentStat ()
 
StatBase registerStat ()
 
boolean isAchievement ()
 
String func_75968_a (int par1)
 
String getName ()
 
String toString ()
 

Public Attributes

final int statId
 
final String statName
 
boolean isIndependent
 
String statGuid
 

Static Public Attributes

static IStatType simpleStatType = new StatTypeSimple()
 
static IStatType timeStatType = new StatTypeTime()
 
static IStatType distanceStatType = new StatTypeDistance()
 

Constructor & Destructor Documentation

net.minecraft.stats.StatBase.StatBase ( int  par1,
String  par2Str,
IStatType  par3IStatType 
)
net.minecraft.stats.StatBase.StatBase ( int  par1,
String  par2Str 
)

Member Function Documentation

String net.minecraft.stats.StatBase.func_75968_a ( int  par1)
String net.minecraft.stats.StatBase.getName ( )
StatBase net.minecraft.stats.StatBase.initIndependentStat ( )

Initializes the current stat as independent (i.e., lacking prerequisites for being updated) and returns the current instance.

boolean net.minecraft.stats.StatBase.isAchievement ( )

Returns whether or not the StatBase-derived class is a statistic (running counter) or an achievement (one-shot).

StatBase net.minecraft.stats.StatBase.registerStat ( )

Register the stat into StatList.

String net.minecraft.stats.StatBase.toString ( )

Member Data Documentation

IStatType net.minecraft.stats.StatBase.distanceStatType = new StatTypeDistance()
static
boolean net.minecraft.stats.StatBase.isIndependent
IStatType net.minecraft.stats.StatBase.simpleStatType = new StatTypeSimple()
static
String net.minecraft.stats.StatBase.statGuid

Holds the GUID of the stat.

final int net.minecraft.stats.StatBase.statId

The Stat ID

final String net.minecraft.stats.StatBase.statName

The Stat name

IStatType net.minecraft.stats.StatBase.timeStatType = new StatTypeTime()
static

The documentation for this class was generated from the following file: