Statistics
Java Edition only 
Statistics is a game feature that allows players to track certain tasks in the form of numerical data.
Statistics are divided into four sections:
 General  The General screen displays a multitude of generic statistics which are listed in the table below.
 Blocks  The Blocks screen displays the number of times different blocks have been crafted, used (placed), mined, picked up and dropped.
 Items  The Items screen displays the number of times different items have been depleted, crafted, used to destroy blocks, picked up and dropped.
 Mobs  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.
Contents
List of general statistics[edit]
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 
Sneak Time  The time the player has held down the sneak button.  stat.sneakTime 
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 
Distance by Elytra  The total distance traveled by elytra.  stat.aviateOneCm 
Jumps  The total number of jumps performed.  stat.jump 
Damage Dealt  The amount of damage the player has dealt in tenths 1 (). Only includes melee attacks.  stat.damageDealt 
Damage Taken  The amount of damage the player has taken in tenths of 1 ().  stat.damageTaken 
Number of Deaths  The number of times the player died.  stat.deaths 
Mob Kills  The number of mobs the player killed.  stat.mobKills 
Player Kills  The number of players the player killed (on PvP servers). Indirect kills do not count.  stat.playerKills 
Items Dropped  The number of items dropped. This does not include items dropped upon death.  stat.drop 
Items Enchanted  The number of items enchanted.  stat.itemEnchanted 
Animals Bred  The number of times the player bred two mobs.  stat.animalsBred 
Fish Caught  The number of fish caught.  stat.fishCaught 
Talked to Villagers  The number of times interacted with villagers (opened the trading GUI).  stat.talkedToVillager 
Traded with Villagers  The number of times traded with villagers.  stat.tradedWithVillager 
Cake Slices Eaten  The number of cake slices eaten.  stat.cakeSlicesEaten 
Cauldrons Filled  The number of times the player filled cauldrons with water buckets.  stat.cauldronFilled 
Water Taken from Cauldron  The number of times the player took water from cauldrons with glass bottles.  stat.cauldronUsed 
Armor Pieces Cleaned  The number of dyed leather armors washed with a cauldron.  stat.armorCleaned 
Banners Cleaned  The number of banner patterns washed with a cauldron.  stat.bannerCleaned 
Interactions with Brewing Stand  The number of times interacted with brewing stands.  stat.brewingstandInteraction 
Interactions with Beacon  The number of times interacted with beacons.  stat.beaconInteraction 
Interactions with Crafting Table  The number of times interacted with crafting tables.  stat.craftingTableInteraction 
Interactions with Furnace  The number of times interacted with furnaces.  stat.furnaceInteraction 
Dispensers Searched  The number of times interacted with dispensers.  stat.dispenserInspected 
Droppers Searched  The number of times interacted with droppers.  stat.dropperInspected 
Hoppers Searched  The number of times interacted with hoppers.  stat.hopperInspected 
Chests Opened  The number of times the player opened chests.  stat.chestOpened 
Trapped Chests Triggered  The number of times the player opened trapped chests.  stat.trappedChestTriggered 
Ender Chests Opened  The number of times the player opened ender chests.  stat.enderchestOpened 
Noteblocks played  The number of note blocks hit.  stat.noteblockPlayed 
Noteblocks tuned  The number of times interacted with note blocks.  stat.noteblockTuned 
Plants potted  The number of plants potted onto flower pots.  stat.flowerPotted 
Records Played  The number of music discs played on a jukebox.  stat.recordPlayed 
Times Slept in a Bed  The number of times the player has slept in a bed.  stat.sleepInBed 
Shulker Boxes Opened  The number of times the player has opened a Shulker Box.  stat.shulkerBoxOpened 
Storage[edit]
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 statschange 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}
Video[edit]
History[edit]
Beta  

March 18, 2011  Notch talked about statistics (along with achievements) on his blog post:
 
1.5  Added statistics.  
May 24, 2011  Saving of stats online was considered for Beta 1.6, but was considered too error prone at that point.  
Official release  
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.  
1.8.2  1.8.2pre1  Added the following statistics: Cake Slices Eaten, Cauldrons Filled, Water Taken from Cauldron, Armor Pieces Cleaned, Banners Cleaned, Interactions with Brewing Stand, Interactions with Beacon, Droppers Searched, Hoppers Searched, Dispensers Searched, Noteblocks played, Noteblocks tuned, Plants potted, Trapped Chests Triggered, Ender Chests Opened, Items Enchanted, Records Played, Interactions with Furnace, Interactions with Crafting Table, and Chests Opened  
1.9  15w32a  Added Sneak Time.  
15w33a  Added statistics for items picked up and dropped.  
15w38a  Added Times Slept in a Bed.  
15w49a  Added Distance by Elytra.  
1.11.1  16w50a  Removed Junk Fished and Treasure Fished.  
Upcoming  
1.13  17w47a  Statistics are now being updated.  
18w07a  Added time_since_sleep statistic. 
Issues[edit]
Issues relating to “Statistics” are maintained on the issue tracker. Report issues there.
Trivia[edit]
 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 aswell 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.
Gallery[edit]
References[edit]
Versions  

Development 
 
Technical 
 
Multiplayer  
Game customization 
