Stat type criteria
These nine criteria take an item, block or entity. Replace the example id with the one you want to track.
minecraft.mined:minecraft.stoneminecraft.crafted:minecraft.diamond_swordminecraft.used:minecraft.bowminecraft.broken:minecraft.iron_pickaxeminecraft.picked_up:minecraft.diamondminecraft.dropped:minecraft.dirtminecraft.killed:minecraft.zombieminecraft.killed_by:minecraft.creeperminecraft.custom:minecraft.<stat>The 77 stats listed below.Custom statistics
Loading...
Minecraft tracks dozens of statistics per player, and any of them can be put on a scoreboard objective to display live or trigger commands. This reference gives the exact criterion for every custom statistic and the pattern for the typed ones, with a ready /scoreboard command to copy.
A scoreboard objective made from a statistic criterion updates by itself as players play, so you do not need command blocks ticking to keep it current. That makes statistics the cleanest way to power kill counters, death tracking, distance challenges and playtime rewards in maps and on servers.
Search the custom statistics below for the counter you want, copy its command, then display it with setdisplay or read it in /execute if score checks.
Add an objective with the statistic's criterion using /scoreboard objectives add <name> <criterion>. For example, /scoreboard objectives add jumps minecraft.custom:minecraft.jump tracks how many times each player has jumped. Once the objective exists, the game updates it automatically as players play, and you can display it in a sidebar or below their name.
It is minecraft.<type>:minecraft.<id>. The type is one of the stat types like custom, mined, crafted, used, broken, picked_up, dropped, killed or killed_by. For custom stats the id is the stat name, such as minecraft.custom:minecraft.deaths. For the other types the id is an item, block or entity, such as minecraft.mined:minecraft.diamond_ore or minecraft.killed:minecraft.ender_dragon.
Custom stats are fixed counters the game keeps, like distance walked, times jumped, damage dealt and deaths, and each has its own id. The other stat types are templates that combine with an item, block or entity: mined counts a specific block broken, crafted counts a specific item made, killed counts a specific mob defeated, and so on. That is why custom stats are listed individually here while the typed ones are shown as a pattern with an example.
Yes. After creating the objective, use /scoreboard objectives setdisplay belowName <name> to show it under players' nameplates, or /scoreboard objectives setdisplay sidebar <name> to show it in the sidebar. This is how many minigames display kills, deaths or score live during play.
The friendly names you see on the in-game statistics screen come from the game's language files, which are not part of this data. The ids shown here, like aviate_one_cm or animals_bred, are the exact strings the commands need, so they are what matters for setting up a scoreboard. The readable label next to each is derived from the id.
Building the scoreboard commands, or browse more Minecraft tools: