Statistics are a game feature that allows players to track how many times they have completed certain tasks.
List of general statistics
The statistics window is divided into four sections: General, Blocks, Items and Mobs. The General screen shows a multitude of generic statistics which are listed in the table below. The Blocks screen shows the number of times different blocks have been crafted, used (placed) and mined. The Items screen shows the number of times different items have been depleted, crafted and used to destroy blocks. The buttons at the top of the Blocks and Items screens can be used to sort the list.
|Statistic name||Description||Stat ID|
|Games quit||The number of times "Save and quit to title" has been clicked.||stat.leaveGame|
|Minutes Played||The total amount of time played. This is not necessarily displayed in minutes - it displays in seconds, minutes, hours or days whichever makes the most sense. If the game is paused this number ceases to increase. If "5.50 h" is displayed this means that you have played for 5 hours and 30 minutes (not 50 minutes).||stat.playOneMinute|
|Since Last Death||The time since the player's last death.||stat.timeSinceDeath|
|Distance Walked||The total distance walked.||stat.walkOneCm|
|Distance Crouched||The total distance walked while sneaking.||stat.crouchOneCm|
|Distance Sprinted||The total distance sprinted.||stat.sprintOneCm|
|Distance Swum||The total distance swum. Wading through water also increases this number. It does not include vertical distance from bouncing in water.||stat.swimOneCm|
|Distance Fallen||The total distance fallen, excluding jumping. If the player falls more than one block, the entire jump is counted.||stat.fallOneCm|
|Distance Climbed||The total distance traveled up ladders or vines.||stat.climbOneCm|
|Distance Flown||Distance traveled upwards and forwards at the same time, while more than one block above the ground.||stat.flyOneCm|
|Distance Dove||The total distance you have walked underwater.||stat.diveOneCm|
|Distance by Minecart||The total distance traveled by minecarts.||stat.minecartOneCm|
|Distance by Boat||The total distance traveled by boats.||stat.boatOneCm|
|Distance by Pig||The total distance traveled by pigs via saddles.||stat.pigOneCm|
|Distance by Horse||The total distance traveled by horses.||stat.horseOneCm|
|Jumps||The total number of jumps performed.||stat.jump|
|Items Dropped||The number of items dropped by the player. This includes items dropped upon death.||stat.drop|
|Damage Dealt||The amount of damage the player has dealt in half-hearts. This does not include self-inflicted damage via arrows.||stat.damageDealt|
|Damage Taken||The amount of damage the player has taken in half-hearts.||stat.damageTaken|
|Number of Deaths||The number of times the player has died.||stat.deaths|
|Mob Kills||The number of mobs the player has killed.||stat.mobKills|
|Animals Bred||The number of times the player has bred two animals.||stat.animalsBred|
|Player Kills||The number of players the player has killed (on PvP servers). Indirect kills do not count.||stat.playerKills|
|Fish Caught||The number of fish caught.||stat.fishCaught|
|Junk Fished||The number of junk fished.||stat.junkFished|
|Treasure Fished||The number of treasures fished.||stat.treasureFished|
|Talked to Villagers||The number of times the player has talked to villagers (opened the trading GUI).||stat.talkedToVillager|
|Traded with Villagers||The number of times the player has traded with villagers.||stat.tradedWithVillager|
Statistics are stored in .minecraft/saves/world name/stats/uuid.json (world name/stats/uuid.json on servers). They keep track of these stats, as well as achievements earned. The file structure is JSON based; it looks like this:
Statistics are stored in the stats-change section. All of these fields are empty unless they need updating. For example, until you jump, the number of times you've jumped will not be recorded. Distance is stored in centimeters, and time is stored in ticks (where one tick equals 0.052 seconds). An example entry for Games Quit:
Note: video is outdated, doesn't show the new statistics and shows removed ones.
|March 18, 2011||Notch talked about statistics (along with achievements) on his blog post:
|May 24, 2011||Saving of stats online was considered for Beta 1.6, but was considered too error prone at that point.|
|1.7.2||13w36a||Statistics are now stored per world instead of globally.|
|Added Distance by Horse, Animals Bred, Junk Fished and Treasure Fished.|
|Removed Times Played, Worlds created, Saves loaded, and Multiplayer joins.|
|1.7.6||Statistics file names are now UUIDs instead of player names. The names of existing files are converted.|
|1.8||February 24, 2014||Searge posts an image of Distance Crouched and Distance Sprinted.|
|14w10a||Added Distance Crouched, Distance Sprinted and Since Last Death.|
|14w30a||Added Talked to Villagers and Traded with Villagers.|
Issues relating to "Statistics" are maintained on the issue tracker. Report issues there.
- The statistics ignore metadata. As such, all types of wood, wool, saplings, and dye will be counted as the same item. Coal and charcoal are also treated as the same.
- As such, on the items tab, there is no tooltip on ink sac. This is because ink sac has the damage value (0) of the dye ID.
- Firing an arrow from a bow does not count as using it.
- "Times Crafted" includes smelting, such as smelting wood for charcoal.
- The compass and clock icons are functional.
- When cocoa pod is viewed in the statistics list their full texture is shown, this includes the top of the pod as-well as the side.