The general statistics screen.
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 three sections: General, Blocks and Items. 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.
||The number of times "Save and quit to title" has been clicked.
||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).
|Since Last Death
||The time since the player's last death.
||The total distance walked.
||The total distance walked while sneaking.
||The total distance sprinted.
||The total distance swum. Wading through water also increases this number. It does not include vertical distance from bouncing in water.
||The total distance fallen, excluding jumping. If the player falls more than one block, the entire jump is counted.
||The total distance traveled up ladders or vines.
||Distance traveled upwards and forwards at the same time, while more than one block above the ground.
||The total distance you have walked underwater.
|Distance by Minecart
||The total distance traveled by minecarts.
|Distance by Boat
||The total distance traveled by boats.
|Distance by Pig
||The total distance traveled by pigs via saddles.
|Distance by Horse
||The total distance traveled by horses.
||The total number of jumps performed.
||The number of items dropped by the player. This includes items dropped upon death.
||The amount of damage the player has dealt in half-hearts. This does not include self-inflicted damage via arrows.
||The amount of damage the player has taken in half-hearts.
|Number of Deaths
||The number of times the player has died.
||The number of mobs the player has killed.
||The number of times the player has bred two animals.
||The number of players the player has killed (on PvP servers). Indirect kills do not count.
||The number of fish caught.
||The number of junk fished.
||The number of treasures fished.
|Talked to Villagers
||The number of times the player has talked to villagers (opened the trading GUI).
|Traded with Villagers
||The number of times the player has traded with villagers.
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:
|March 18, 2011
||Notch talked about statistics (along with achievements) on his blog post:
||Achievements will NOT be chores like “cut down 10000 trees”, but rather challenges like “ride a pig off a cliff”. Stats, however, will be used to keep track of how many trees you have cut down. The long term plan is to show achievements and stats from the profile page on minecraft.net as well, in case you want to brag.
||—Notch on his blog
|May 24, 2011
||Saving of stats online was considered for Beta 1.6, but was considered too error prone at that point.
||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.
||Statistics file names are now UUIDs instead of player names. The names of existing files are converted.
||February 24, 2014
||Searge posts an image of Distance Crouched and Distance Sprinted.
||Added Distance Crouched, Distance Sprinted and Since Last Death.
||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.
The block statistics screen
The item statistics screen