Statistics

Statistics are a game feature that allows players to track how many times they have completed certain tasks.

Statistics are divided into four sections: General, Blocks, Items and Mobs. The General screen displays a multitude of generic statistics which are listed in the table below. The Blocks screen displays the number of times different blocks have been crafted, used (placed), mined, picked up and dropped. The Items screen displays the number of times different items have been depleted, crafted, used to destroy blocks, picked up and dropped. The Mob screen shows for each different types of mobs how many the player has killed, or the number of deaths caused by those mobs. The buttons at the top of the Blocks and Items screens can be used to sort the list.

Statistics are only present in the Java Edition The Legacy Console Edition replaces statistics with leaderboards, but the Bedrock Edition has no equivalent of statistics.

Storage
Statistics are stored in .minecraft/saves/world name/stats/uuid.json (world name/stats/uuid.json on servers). They keep track of these stats. The file structure is JSON based; it looks like this:

{"stat.xxxxxx":value,"stat.xxxxxx":value,"stat.xxxxxx":value,...}

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.05 seconds). An example entry for Games Quit:

{"stat.leaveGame":4}

Trivia

 * 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, because it has the damage value (0) of the dye ID.
 * "Times Crafted" includes smelting, such as smelting wood for charcoal.
 * 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 statistics do not keep track of the number of snow golems, iron golems, withers or illusioners that the player has killed, or the number of times the player has been killed by these mobs.