Statistics

From Minecraft Wiki
(Redirected from Statistic)
Jump to: navigation, search
Information icon.svg
This feature is exclusive to Java Edition.
The general statistics screen.

Statistics is a game feature that allows players to track certain tasks in the form of numerical data.

Statistics are divided into three sections:

  • General – The General screen displays a multitude of generic statistics which are listed in the table below.
  • Items – The Items screen displays the number of times different items and blocks 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 (with the exception of Wii U Edition and Nintendo Switch Edition), and the Bedrock Edition has no equivalent of statistics.

List of general statistics[edit]

Statistic name Description ID
Games Quit The number of times "Save and quit to title" has been clicked. minecraft.custom:minecraft.leave_game
Time 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). minecraft.custom:minecraft.play_one_minute
Since Last Death The time since the player's last death. minecraft.custom:minecraft.time_since_death
Sneak Time The time the player has held down the sneak button. minecraft.custom:minecraft.sneak_time
Distance Walked The total distance walked. minecraft.custom:minecraft.walk_one_cm
Distance Crouched The total distance walked while sneaking. minecraft.custom:minecraft.crouch_one_cm
Distance Sprinted The total distance sprinted. minecraft.custom:minecraft.sprint_one_cm
Distance Swum The total distance covered with sprint-swimming. minecraft.custom:minecraft.swim_one_cm
Distance Fallen The total distance fallen, excluding jumping. If the player falls more than one block, the entire jump is counted. minecraft.custom:minecraft.fall_one_cm
Distance Climbed The total distance traveled up ladders or vines. minecraft.custom:minecraft.climb_one_cm
Distance Flown Distance traveled upwards and forwards at the same time, while more than one block above the ground. minecraft.custom:minecraft.fly_one_cm
Distance Walked under Water The total distance you have walked underwater. minecraft.custom:minecraft.walk_under_water_one_cm
Distance by Minecart The total distance traveled by minecarts. minecraft.custom:minecraft.minecart_one_cm
Distance by Boat The total distance traveled by boats. minecraft.custom:minecraft.boat_one_cm
Distance by Pig The total distance traveled by pigs via saddles. minecraft.custom:minecraft.pig_one_cm
Distance by Horse The total distance traveled by horses. minecraft.custom:minecraft.horse_one_cm
Distance by Elytra The total distance traveled by elytra. minecraft.custom:minecraft.aviate_one_cm
Jumps The total number of jumps performed. minecraft.custom:minecraft.jump
Damage Dealt The amount of damage the player has dealt in tenths 1Half Heart.svg. Only includes melee attacks. minecraft.custom:minecraft.damage_dealt
Damage Dealt (Absorbed) The amount of damage the player has dealt that were absorbed, in tenths of 1Half Heart.svg. minecraft.custom:minecraft.damage_dealt_absorbed
Damage Dealt (Resisted) The amount of damage the player has dealt that were resisted, in tenths of 1Half Heart.svg. minecraft.custom:minecraft.damage_dealt_resisted
Damage Taken The amount of damage the player has taken in tenths of 1Half Heart.svg. minecraft.custom:minecraft.damage_taken
Damage Absorbed The amount of damage the player has absorbed in tenths of 1Half Heart.svg. minecraft.custom:minecraft.damage_absorbed
Damage Resisted The amount of damage the player has resisted in tenths of 1Half Heart.svg. minecraft.custom:minecraft.damage_resisted
Damage Blocked By Shield The amount of damage the player has blocked with a shield in tenths of 1Half Heart.svg. minecraft.custom:minecraft.damage_blocked_by_shield
Number of Deaths The number of times the player died. minecraft.custom:minecraft.deaths
Mob Kills The number of mobs the player killed. minecraft.custom:minecraft.mob_kills
Player Kills The number of players the player killed (on PvP servers). Indirect kills do not count. minecraft.custom:minecraft.player_kills
Items Dropped The number of items dropped. This does not include items dropped upon death. minecraft.custom:minecraft.drop
Items Enchanted The number of items enchanted. minecraft.custom:minecraft.enchant_item
Animals Bred The number of times the player bred two mobs. minecraft.custom:minecraft.animals_bred
Fish Caught The number of fish caught. minecraft.custom:minecraft.fish_caught
Talked to Villagers The number of times interacted with villagers (opened the trading GUI). minecraft.custom:minecraft.talked_to_villager
Traded with Villagers The number of times traded with villagers. minecraft.custom:minecraft.traded_with_villager
Cake Slices Eaten The number of cake slices eaten. minecraft.custom:minecraft.eat_cake_slice
Cauldrons Filled The number of times the player filled cauldrons with water buckets. minecraft.custom:minecraft.fill_cauldron
Water Taken from Cauldron The number of times the player took water from cauldrons with glass bottles. minecraft.custom:minecraft.use_cauldron
Armor Pieces Cleaned The number of dyed leather armors washed with a cauldron. minecraft.custom:minecraft.clean_armor
Banners Cleaned The number of banner patterns washed with a cauldron. minecraft.custom:minecraft.clean_banner
Interactions with Brewing Stand The number of times interacted with brewing stands. minecraft.custom:minecraft.interact_with_brewingstand
Interactions with Beacon The number of times interacted with beacons. minecraft.custom:minecraft.interact_with_beacon
Interactions with Crafting Table The number of times interacted with crafting tables. minecraft.custom:minecraft.interact_with_crafting_table
Interactions with Furnace The number of times interacted with furnaces. minecraft.custom:minecraft.interact_with_furnace
Interactions with Blast Furnace The number of times interacted with Blast Furnaces. minecraft.custom:minecraft.interact_with_blast_furnace
Interactions with Campfire The number of times interacted with Campfires. minecraft.custom:minecraft.interact_with_campfire
Interactions with Cartography Table The number of times interacted with Cartography Tables. minecraft.custom:minecraft.interact_with_cartography_table
Interactions with Lectern The number of times interacted with Lecterns. minecraft.custom:minecraft.interact_with_lectern
Interactions with Loom The number of times interacted with Looms. minecraft.custom:minecraft.interact_with_loom
Interactions with Smoker The number of times interacted with Smokers. minecraft.custom:minecraft.interact_with_smoker
Interactions with Stonecutter The number of times interacted with Stonecutters. minecraft.custom:minecraft.interact_with_stonecutter
Dispensers Searched The number of times interacted with dispensers. minecraft.custom:minecraft.inspect_dispenser
Droppers Searched The number of times interacted with droppers. minecraft.custom:minecraft.inspect_dropper
Hoppers Searched The number of times interacted with hoppers. minecraft.custom:minecraft.inspect_hopper
Chests Opened The number of times the player opened chests. minecraft.custom:minecraft.open_chest
Trapped Chests Triggered The number of times the player opened trapped chests. minecraft.custom:minecraft.trigger_trapped_chest
Ender Chests Opened The number of times the player opened ender chests. minecraft.custom:minecraft.open_enderchest
Note Blocks played The number of note blocks hit. minecraft.custom:minecraft.play_noteblock
Note Blocks tuned The number of times interacted with note blocks. minecraft.custom:minecraft.tune_noteblock
Plants Potted The number of plants potted onto flower pots. minecraft.custom:minecraft.pot_flower
Music Discs Played The number of music discs played on a jukebox. minecraft.custom:minecraft.play_record
Times Slept in a Bed The number of times the player has slept in a bed. minecraft.custom:minecraft.sleep_in_bed
Shulker Boxes Cleaned The number of times the player has washed a Shulker Box with a cauldron. minecraft.custom:minecraft.clean_shulker_box
Shulker Boxes Opened The number of times the player has opened a Shulker Box. minecraft.custom:minecraft.open_shulker_box
Distance Walked on Water The distance covered while bobbing up and down over water. minecraft.custom:minecraft.walk_on_water_one_cm
Since Last Rest The time since the player's last rest. This is used to spawn phantoms. minecraft.custom:minecraft.time_since_rest
Barrels Opened The number of times the player has opened a Barrel. minecraft.custom:minecraft.open_barrel
Bells Rung The number of times the player has rung a Bell. minecraft.custom:minecraft.bell_ring
Raids Triggered The number of times the player has triggered a Raid. minecraft.custom:minecraft.raid_trigger
Raids Won The number of times the player has won a Raid. minecraft.custom:minecraft.raid_win

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 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}

Video[edit]

History[edit]

Java Edition Beta
March 18, 2011Notch talked about statistics (along with achievements) on his blog post:
Notchface.png

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[1]
1.5Added statistics.
May 24, 2011Saving of stats online was considered for Beta 1.6, but was considered too error prone at that point.
Java Edition
1.7.213w36aStatistics 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.8February 24, 2014Searge posts an image of Distance Crouched and Distance Sprinted.
14w10aAdded Distance Crouched, Distance Sprinted and Since Last Death.
14w30aAdded Talked to Villagers and Traded with Villagers.
1.8.2pre1Added 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.915w32aAdded Sneak Time.
15w33aAdded statistics for items picked up and dropped.
15w38aAdded Times Slept in a Bed.
15w49aAdded Distance by Elytra.
1.11.116w50aRemoved Junk Fished and Treasure Fished.
1.13?Changed IDs to be separated by underscores instead of camel case ("time_since_death" instead of "timeSinceDeath") and changed the stat. prefix to minecraft.custom:minecraft..
17w47aRemoved Blocks section, merging it into the Items section.
The entity section has no statistics.
17w48aRe-added entity statistics, now tracking all entities.
18w07aAdded Time Since Rest statistic.
1.13.118w32aAdded the following statistics:
Damage Dealt (Absorbed), Damage Dealt (Resisted), Damage Blocked By Shield, Damage Absorbed, Damage Resisted, and Shulker Box Cleaned.

Issues[edit]

Issues relating to "Statistics" are maintained on the bug tracker. Report issues there.

Trivia[edit]

  • "Times Crafted" includes smelting, such as smelting log for charcoal.

Gallery[edit]

References[edit]