Advancement



Advancements are a way to gradually guide new players into Minecraft and give them challenges to complete, similar to the more simple system of achievements in the Console Edition and Pocket Edition.

Obtaining
Advancements can be completed in any game mode, and are obtained and saved per world. Advancements can also be granted (and revoked) using the command.

Although advancements guide players logically through the game, they are independent of each other; an advancement can be completed without having completed the advancements "before" it.

When an advancement is obtained, a sliding toast notification displays in the top right corner as well and a message will be displayed in chat. The color of the header text in the notification depends on the advancement; normal and goal advancements have yellow header text, while challenge advancements have pink header text. Completing a normal advancement will make the header text display "Advancement Made!", completing a goal advancement will result in a "Goal Reached!" header and a challenge advancement will give "Challenge Completed!".

Interface


The button to access the Advancements screen is found on the pause menu screen. You can also open this screen by pressing (this can be changed in the in-game options menu).

The advancement system involves several trees composed of advancements, each tree beginning with a root advancement and ending with goal or challenge advancements. By clicking and dragging, you can view different branches of an advancement tree. Each tree is categorized into different tabs (which are, themselves, advancements). There are currently five tabs in vanilla Minecraft (although more may possibly be added ):


 * Minecraft: The heart and story of the game.
 * Adventure: Adventure, exploration, and combat.
 * Nether: Bring summer clothes.
 * The End: Or the beginning?
 * Husbandry: The world is full of friends and food.

Each tab has a different background with a repeating texture.

Advancement icons display a header name and description when hovered over. They only appear in a tree when the advancement before it is completed, although, as stated before, advancements can be completed in any order.

If the player has not completed any advancements, the interface will show a black background with white text reading "There doesn't seem to be anything here... :(".

The icon frames of advancements can vary in appearance based on difficulty, and whether or not it was completed. A legend is provided below:

Extra advancements and tabs can be added and customized with the use of JSON files, as detailed below.

JSON Format
Custom advancements in the 'data/advancements' folder of a Minecraft world store the advancement data for that world as separate JSON files:

These JSON files are structured according to the following format:


 * The root tag.
 * : The optional display data.
 * : The data for the icon.
 * : The item id.
 * : The damage value for the item.
 * : The title for this advancement.
 * : A JSON text component (containing text and formatting like used in /tellraw and various other commands. Also translate tag can be used here).
 * : The optional type of frame for the icon.  for a tile with a more fancy spiked border as it is used for the kill all mobs advancement,   for a tile with a rounded border as it is used for the full beacon advancement,   for a normal tile (default.)
 * : The optional directory for the background to use in this advancement tab (only for the root advancement).
 * : The description of the advancement.
 * : A JSON text component (containing text and formatting like used in /tellraw and various other commands. Also translate tag can be used here).
 * : Can be  or  . Whether or not to show the toast pop up after completing this advancement. Defaults to true.
 * : Can be  or  . Whether or not to announce in the chat when this advancement has been completed. Defaults to true.
 * : Can be  or  . Whether or not to hide this advancement and all its children from the advancement screen until this advancement have been completed. Has no effect on root advancements them self but will still affect all their children. Defaults to false.
 * : The optional parent advancement directory of this advancement (does not apply for the root advancement).
 * : The required criteria that have to be met.
 * : A name given to the criteria (can be any string, must be unique).
 * : The trigger for this advancement; specifies what the game should check for the advancement.
 * : All the conditions that need to be met when the trigger gets activated.
 * : An optional list of requirements (all the  ). If all criteria are required, this may be omitted. With multiple criteria: requirements contains a list of lists with criteria (all criteria need to be mentioned). If all of the lists each have any criteria met, it will complete the advancement. (basically AND grouping of OR groups)
 * : An optional collection of the rewards provided when this advancement is obtained.
 * : A list of crafting recipes (strings).
 * : A list of loot tables (strings).
 * : An amount of experience.
 * : A function to run. Functions are text files with the file extension   in .minecraft\saves\XXXX\data\functions\ and can contain a list of commands to run in order.

minecraft:bred_animals
Triggers after the player breeds 2 animals. Available conditions:
 * : The child that results from the breeding.
 * : The parent.
 * : The partner (the entity the parent was bred with, useful for checking horses + donkey = mule breeding)
 * : The parent.
 * : The partner (the entity the parent was bred with, useful for checking horses + donkey = mule breeding)
 * : The partner (the entity the parent was bred with, useful for checking horses + donkey = mule breeding)

An example {       "criteria": { "example": { "trigger": "minecraft:bred_animals", "conditions": { "child": { "type": "mule" },                   "parent": { "location": { "biome": "beaches" }                   },                    "partner": { "effects": { "minecraft:speed": { "amplifier": { "min": 2 }                           }                        }                    }                }            }        }    }

minecraft:brewed_potion
Triggers after the player takes any item out of a brewing stand. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:brewed_potion", "conditions": { "potion": "minecraft:strong_swiftness" }           }        }    }
 * : A brewed potion ID.
 * : A brewed potion ID.

minecraft:changed_dimension
Triggers after the player travels between two dimensions. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:changed_dimension", "conditions": { "from": "the_end", "to": "overworld" }           }        }    }
 * : The dimension the entity traveled from. Accepts these 3 values.
 * : The dimension the entity traveled to. Same accepted values as above.
 * : The dimension the entity traveled to. Same accepted values as above.

minecraft:construct_beacon
Triggers after the player changes the structure of a beacon. (When the beacon updates itself). Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:construct_beacon", "conditions": { "level": { "min": 3 }               }            }        }    }
 * : The tier of the updated beacon structure.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.

minecraft:consume_item
Triggers when the player consumes an item. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:consume_item", "conditions": { "item": { "item": "minecraft:golden_apple", "data": 1, "nbt": "{display:{Name:\"Example\"}}" }               }            }        }    }
 * : The item that was consumed
 * : The item that was consumed

minecraft:cured_zombie_villager
Triggers when the player cures a zombie villager. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:cured_zombie_villager", "conditions": { "villager": { "location": { "biome": "plains" }                   },                    "zombie": { "distance": { "horizontal": { "max": 10 }                       }                    }                }            }        }    }
 * : The villager that is the result of the conversion. The 'type' tag is redundant since it will always be "villager".
 * : The zombie villager right before the conversion is complete (not when it is initiated). The 'type' tag is redundant since it will always be "zombie_villager".
 * : The zombie villager right before the conversion is complete (not when it is initiated). The 'type' tag is redundant since it will always be "zombie_villager".
 * : The zombie villager right before the conversion is complete (not when it is initiated). The 'type' tag is redundant since it will always be "zombie_villager".

minecraft:effects_changed
Triggers after the player gets a status effect applied or taken from them. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:effects_changed", "conditions": { "effects": { "minecraft:weakness": {}, "minecraft:slowness": { "amplifier": 2, "duration": { "min": 100, "max": 500 }                       }                    }                }            }        }    }
 * : A list of status effects the player has.
 * : A status effect with the key name being the status effect name.
 * : The effect amplifier.
 * : The maximum value.
 * : The minimum value.
 * : The effect duration in ticks.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The minimum value.

minecraft:enchanted_item
Triggers after the player enchants an item through an enchanting table (does not get triggered through an anvil, or through commands). Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:enchanted_item", "conditions": { "item": { "item": "minecraft:wooden_sword", "enchantments": [ {                               "enchantment": "minecraft:sharpness", "levels": { "min": 2 }                           }                        ]                    },                    "levels": { "min": 3 }                }            }        }    }
 * : The item after it has been enchanted.
 * : The levels spent by the player on the enchantment.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The minimum value.

minecraft:enter_block
Triggers when the player stands in a block. Checks every tick and will try to trigger for each successful match (up to 8 times, the maximum amount of blocks a player can stand in), which only works if the advancement is revoked from within the advancement using a function reward. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:enter_block", "conditions": { "block": "minecraft:red_flower", "state": { "type": "allium" }               }            }        }    }
 * : The block that the player is standing in. Accepts block IDs.
 * : The block states of the block.
 * : A single block state, with the key name being the state name and the value being the required value of that state.
 * : A single block state, with the key name being the state name and the value being the required value of that state.

minecraft:entity_hurt_player
Triggers after a player gets hurt. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:entity_hurt_player", "conditions": { "damage": { "source_entity": { "type": "skeleton" },                       "direct_entity": { "type": "arrow" },                       "taken": { "min": 4.0 }                   }                }            }        }    }
 * : Checks the damage done to the player.
 * : Checks the damage done to the player.

minecraft:entity_killed_player
Triggers after an entity kills a player. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:entity_killed_player", "conditions": { "entity": { "type": "skeleton" },                   "killing_blow": { "is_projectile": true }               }            }        }    }
 * : Checks the entity that was the source of the damage that killed the player (for example: The skeleton that shot the arrow).
 * : Checks the type of damage that killed the player.
 * : Checks the type of damage that killed the player.
 * : Checks the type of damage that killed the player.

minecraft:impossible
Triggers only using commands. An example {       "criteria": { "example": { "trigger": "minecraft:impossible" }       }    }

minecraft:inventory_changed
Triggers after any changes happen to the player's inventory. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:inventory_changed", "conditions": { "items": [ {                           "item": "minecraft:stone", "data": 2, "count": { "min": 5, "max": 10 }                       },                        {                            "item": "minecraft:wool", "data": 5 },                       {                            "item": "minecraft:wooden_sword", "durability": { "min": 50 },                           "nbt": "{display:{Name:\"Example\"}}" }                   ],                    "slots": { "occupied": 3 }               }            }        }    }
 * : A list of items in the player's inventory. All items in the list must be in the player's inventory, but not all items in the player's inventory have to be in this list.
 * : The amount of slots empty in the inventory.
 * : The maximum value.
 * : The minimum value.
 * : The amount of slots completely filled (stacksize) in the inventory.
 * : The maximum value.
 * : The minimum value.
 * : The amount of slots occupied in the inventory.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The amount of slots occupied in the inventory.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.

minecraft:item_durability_changed
Triggers after any item in the inventory has been damaged in any form. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:item_durability_changed", "conditions": { "delta": -2, "item": { "item": "minecraft:wooden_axe", "durability": { "max": 1 }                   }                }            }        }    }
 * : The difference in durability.
 * : The maximum value.
 * : The minimum value.
 * : The remaining durability of the item.
 * : The maximum value.
 * : The minimum value.
 * : The item before it was damaged, allows you to check the durability before the item was damaged.
 * : The maximum value.
 * : The minimum value.
 * : The item before it was damaged, allows you to check the durability before the item was damaged.

minecraft:levitation
Triggers when the player has the levitation status effect. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:levitation", "conditions": { "distance": { "horizontal": { "min": 5 },                       "y": { "min": 2 }                   },                    "duration": { "min": 100 }               }            }        }    }
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The duration of the levitation in ticks.
 * : The maximum value.
 * : The minimum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The duration of the levitation in ticks.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.

minecraft:location
Triggers every 20 ticks (1 second) and checks where the player is. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:location", "conditions": { "biome": "jungle", "feature": "Temple", "dimension": "overworld", "position": { "x": 0, "y": 60, "z": { "min": -10, "max": 10 }                   }                }            }        }    }

minecraft:nether_travel
Triggers when the player travels to the Nether and then returns to the Overworld. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:nether_travel", "conditions": { "distance": { "horizontal": { "min": 1000 },                       "absolute": { "min": 1100 }                   }                }            }        }    }
 * : The Overworld distance between where the player entered the Nether and where the played exited the Nether.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.
 * : The maximum value.
 * : The minimum value.

minecraft:placed_block
Triggers when the player placed a block. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:placed_block", "conditions": { "block": "minecraft:unpowered_repeater", "state": { "facing": "west" },                   "location": { "position": { "x": 10, "z": 14 },                       "biome": "plains" },                   "item": { "item": "minecraft:repeater" }               }            }        }    }
 * : The block that was placed. Accepts block IDs.
 * : The item that was used to place the block before the item was consumed.
 * : The location of the block that was placed.
 * : The block states of the block.
 * : A single block state, with the key name being the state name and the value being the required value of that state.
 * : The block states of the block.
 * : A single block state, with the key name being the state name and the value being the required value of that state.
 * : A single block state, with the key name being the state name and the value being the required value of that state.

minecraft:player_hurt_entity
Triggers after the player hurts a mob or player. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:player_hurt_entity", "conditions": { "damage": { "blocked": true, "type": { "direct_entity": { "type": "arrow" }                       }                    },                    "entity": { "type": "player", "nbt": "{Tags:[\"example\"]}" }               }            }        }    }
 * : The damage that was dealt
 * : The entity that was damaged.
 * : The entity that was damaged.
 * : The entity that was damaged.

minecraft:player_killed_entity
Triggers after a player is the source of a mob or player being killed. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:player_killed_entity", "conditions": { "entity": { "type": "creeper", "nbt": "{powered:1b}", "location": { "biome": "void" },                       "effects": { "minecraft:slowness": {}, "minecraft:weakness": { "amplifier": { "min": 2 }                           }                        }                    },                    "killing_blow": { "source_entity": { "nbt": "{SelectedItem:{id:\"minecraft:wooden_sword\",}}" }                   }                }            }        }    }
 * : The entity that was killed.
 * : The type of damage that killed an entity.
 * : The type of damage that killed an entity.
 * : The type of damage that killed an entity.

minecraft:recipe_unlocked
Triggers after the player unlocks a recipe (using a knowledge book for example). Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:recipe_unlocked", "conditions": { "recipe": "minecraft:wooden_sword" }           }        }    }
 * : The recipe that was unlocked.
 * : The recipe that was unlocked.

minecraft:slept_in_bed
Triggers when the player enters a bed. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:slept_in_bed", "conditions": { "biome": "desert", "feature": "Village", "position": { "y": { "min": 50, "max": 100 }                   }                }            }        }    }

minecraft:summoned_entity
Triggers after an entity has been summoned. Works with iron golems (pumpkin and iron blocks), snow golems (pumpkin and snow blocks), the ender dragon (ender crystals) and the wither (wither skulls and soul sand). Using dispensers to place the wither skulls or pumpkins will still activate this trigger. Spawn eggs, commands and mob spawners will not work however. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:summoned_entity", "conditions": { "entity": { "type": "minecraft:snowman" }               }            }        }    }

minecraft:tame_animal
Triggers after the player tames an animal. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:tame_animal", "conditions": { "entity": { "type": "parrot", "nbt": "{Variant:2}" }               }            }        }    }
 * : Checks the entity that was tamed.
 * : Checks the entity that was tamed.

minecraft:tick
Triggers every tick (20 times a second). An example {       "criteria": { "example": { "trigger": "minecraft:tick" }       }    }

minecraft:used_ender_eye
Triggers when the player uses an eye of ender (in a world where strongholds generate). Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:used_ender_eye", "conditions": { "distance": { "min": 100, "max": 200 }               }            }        }    }
 * : The horizontal distance between the player and the stronghold.
 * : A maximum value.
 * : A minimum value.
 * : A maximum value.
 * : A minimum value.

minecraft:used_totem
Triggers when the players uses a totem. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:used_totem", "conditions": { "item": { "item": "minecraft:totem_of_undying" }               }            }        }    }
 * : The item, only works with totem items.
 * : The item, only works with totem items.

minecraft:villager_trade
Triggers after the player trades with a villager. Available conditions: An example {       "criteria": { "example": { "trigger": "minecraft:villager_trade", "conditions": { "item": { "item": "minecraft:emerald", "count": { "min": 1 }                   },                    "villager": { "nbt": "{Career:1}" }               }            }        }    }
 * : The item that was purchased. The "count" tag checks the count from one trade, not multiple.
 * : The villager the item was purchased from. The 'type' tag is redundant since it will always be "villager".
 * : The villager the item was purchased from. The 'type' tag is redundant since it will always be "villager".
 * : The villager the item was purchased from. The 'type' tag is redundant since it will always be "villager".

Trivia

 * Seventeen of the old Java Edition achievements were re-implemented as advancements: Benchmarking (called Minecraft), Time to Mine! (called Stone Age), Getting an Upgrade, Acquire Hardware, We Need to Go Deeper, The End?, The End. (called Free the End), Return to Sender, Into Fire, Local Brewery, The Beginning? (called Withering Heights), Beaconator, DIAMONDS! (called Diamonds!), Enchanter, Adventuring Time, Monster Hunter and Sniper Duel.
 * Six achievements from other editions were re-implemented as advancements: Body Guard (called Hired Help), Cheating Death (called Postmortal), Zombie Doctor, You Need a Mint, The End... Again... and Great View From Up Here