YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.stats.StatList Class Reference

Static Public Member Functions

static void nopInit ()
 
static void initBreakableStats ()
 
static void initStats ()
 
static void initCraftableStats ()
 
static StatBase getOneShotStat (int par0)
 

Static Public Attributes

static List allStats = new ArrayList()
 
static List generalStats = new ArrayList()
 
static List itemStats = new ArrayList()
 
static List objectMineStats = new ArrayList()
 
static StatBase startGameStat = (new StatBasic(1000, "stat.startGame")).initIndependentStat().registerStat()
 
static StatBase createWorldStat = (new StatBasic(1001, "stat.createWorld")).initIndependentStat().registerStat()
 
static StatBase loadWorldStat = (new StatBasic(1002, "stat.loadWorld")).initIndependentStat().registerStat()
 
static StatBase joinMultiplayerStat = (new StatBasic(1003, "stat.joinMultiplayer")).initIndependentStat().registerStat()
 
static StatBase leaveGameStat = (new StatBasic(1004, "stat.leaveGame")).initIndependentStat().registerStat()
 
static StatBase minutesPlayedStat = (new StatBasic(1100, "stat.playOneMinute", StatBase.timeStatType)).initIndependentStat().registerStat()
 
static StatBase distanceWalkedStat = (new StatBasic(2000, "stat.walkOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
 
static StatBase distanceSwumStat = (new StatBasic(2001, "stat.swimOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
 
static StatBase distanceFallenStat = (new StatBasic(2002, "stat.fallOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
 
static StatBase distanceClimbedStat = (new StatBasic(2003, "stat.climbOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
 
static StatBase distanceFlownStat = (new StatBasic(2004, "stat.flyOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
 
static StatBase distanceDoveStat = (new StatBasic(2005, "stat.diveOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
 
static StatBase distanceByMinecartStat = (new StatBasic(2006, "stat.minecartOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
 
static StatBase distanceByBoatStat = (new StatBasic(2007, "stat.boatOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
 
static StatBase distanceByPigStat = (new StatBasic(2008, "stat.pigOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
 
static StatBase jumpStat = (new StatBasic(2010, "stat.jump")).initIndependentStat().registerStat()
 
static StatBase dropStat = (new StatBasic(2011, "stat.drop")).initIndependentStat().registerStat()
 
static StatBase damageDealtStat = (new StatBasic(2020, "stat.damageDealt")).registerStat()
 
static StatBase damageTakenStat = (new StatBasic(2021, "stat.damageTaken")).registerStat()
 
static StatBase deathsStat = (new StatBasic(2022, "stat.deaths")).registerStat()
 
static StatBase mobKillsStat = (new StatBasic(2023, "stat.mobKills")).registerStat()
 
static StatBase playerKillsStat = (new StatBasic(2024, "stat.playerKills")).registerStat()
 
static StatBase fishCaughtStat = (new StatBasic(2025, "stat.fishCaught")).registerStat()
 
static StatBase[] mineBlockStatArray = initMinableStats("stat.mineBlock", 16777216)
 
static StatBase[] objectCraftStats
 
static StatBase[] objectUseStats
 
static StatBase[] objectBreakStats
 

Static Protected Attributes

static Map oneShotStats = new HashMap()
 

Member Function Documentation

static StatBase net.minecraft.stats.StatList.getOneShotStat ( int  par0)
static
static void net.minecraft.stats.StatList.initBreakableStats ( )
static

Initializes statistic fields related to breakable items and blocks.

static void net.minecraft.stats.StatList.initCraftableStats ( )
static

Initializes statistics related to craftable items. Is only called after both block and item stats have been initialized.

static void net.minecraft.stats.StatList.initStats ( )
static
static void net.minecraft.stats.StatList.nopInit ( )
static

This method simply NOPs. It is presumably used to call the static constructors on server start.

Member Data Documentation

List net.minecraft.stats.StatList.allStats = new ArrayList()
static
StatBase net.minecraft.stats.StatList.createWorldStat = (new StatBasic(1001, "stat.createWorld")).initIndependentStat().registerStat()
static

times a world has been created

StatBase net.minecraft.stats.StatList.damageDealtStat = (new StatBasic(2020, "stat.damageDealt")).registerStat()
static

the amount of damage you've dealt

StatBase net.minecraft.stats.StatList.damageTakenStat = (new StatBasic(2021, "stat.damageTaken")).registerStat()
static

the amount of damage you have taken

StatBase net.minecraft.stats.StatList.deathsStat = (new StatBasic(2022, "stat.deaths")).registerStat()
static

the number of times you have died

StatBase net.minecraft.stats.StatList.distanceByBoatStat = (new StatBasic(2007, "stat.boatOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
static

the distance you've traveled by boat

StatBase net.minecraft.stats.StatList.distanceByMinecartStat = (new StatBasic(2006, "stat.minecartOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
static

the distance you've traveled by minecart

StatBase net.minecraft.stats.StatList.distanceByPigStat = (new StatBasic(2008, "stat.pigOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
static

the distance you've traveled by pig

StatBase net.minecraft.stats.StatList.distanceClimbedStat = (new StatBasic(2003, "stat.climbOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
static

the distance you've climbed

StatBase net.minecraft.stats.StatList.distanceDoveStat = (new StatBasic(2005, "stat.diveOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
static

the distance you've dived

StatBase net.minecraft.stats.StatList.distanceFallenStat = (new StatBasic(2002, "stat.fallOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
static

the distance you have fallen

StatBase net.minecraft.stats.StatList.distanceFlownStat = (new StatBasic(2004, "stat.flyOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
static

the distance you've flown

StatBase net.minecraft.stats.StatList.distanceSwumStat = (new StatBasic(2001, "stat.swimOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
static

distance you have swam

StatBase net.minecraft.stats.StatList.distanceWalkedStat = (new StatBasic(2000, "stat.walkOneCm", StatBase.distanceStatType)).initIndependentStat().registerStat()
static

distance you've walked

StatBase net.minecraft.stats.StatList.dropStat = (new StatBasic(2011, "stat.drop")).initIndependentStat().registerStat()
static

the distance you've dropped (or times you've fallen?)

StatBase net.minecraft.stats.StatList.fishCaughtStat = (new StatBasic(2025, "stat.fishCaught")).registerStat()
static
List net.minecraft.stats.StatList.generalStats = new ArrayList()
static
List net.minecraft.stats.StatList.itemStats = new ArrayList()
static
StatBase net.minecraft.stats.StatList.joinMultiplayerStat = (new StatBasic(1003, "stat.joinMultiplayer")).initIndependentStat().registerStat()
static

number of times you've joined a multiplayer world

StatBase net.minecraft.stats.StatList.jumpStat = (new StatBasic(2010, "stat.jump")).initIndependentStat().registerStat()
static

the times you've jumped

StatBase net.minecraft.stats.StatList.leaveGameStat = (new StatBasic(1004, "stat.leaveGame")).initIndependentStat().registerStat()
static

number of times you've left a game

StatBase net.minecraft.stats.StatList.loadWorldStat = (new StatBasic(1002, "stat.loadWorld")).initIndependentStat().registerStat()
static

the number of times you have loaded a world

StatBase [] net.minecraft.stats.StatList.mineBlockStatArray = initMinableStats("stat.mineBlock", 16777216)
static
StatBase net.minecraft.stats.StatList.minutesPlayedStat = (new StatBasic(1100, "stat.playOneMinute", StatBase.timeStatType)).initIndependentStat().registerStat()
static

number of minutes you have played

StatBase net.minecraft.stats.StatList.mobKillsStat = (new StatBasic(2023, "stat.mobKills")).registerStat()
static

the number of mobs you have killed

StatBase [] net.minecraft.stats.StatList.objectBreakStats
static

Tracks the number of times a given block or item has been broken.

StatBase [] net.minecraft.stats.StatList.objectCraftStats
static

Tracks the number of items a given block or item has been crafted.

List net.minecraft.stats.StatList.objectMineStats = new ArrayList()
static

Tracks the number of times a given block or item has been mined.

StatBase [] net.minecraft.stats.StatList.objectUseStats
static

Tracks the number of times a given block or item has been used.

Map net.minecraft.stats.StatList.oneShotStats = new HashMap()
staticprotected

Tracks one-off stats.

StatBase net.minecraft.stats.StatList.playerKillsStat = (new StatBasic(2024, "stat.playerKills")).registerStat()
static

counts the number of times you've killed a player

StatBase net.minecraft.stats.StatList.startGameStat = (new StatBasic(1000, "stat.startGame")).initIndependentStat().registerStat()
static

times the game has been started


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