Updated 25 October 2026. Facts on this page come from minecraft.wiki, minecraft.net and the live Artemis PvP server; sources are listed at the bottom.

Minecraft /recipe and /advancement Commands
/recipe give
How do you use /recipe?
| Command | What it does |
|---|---|
/recipe give @s * | Unlocks every recipe |
/recipe take @s * | Locks every recipe |
/recipe give @s minecraft:diamond_sword | Unlocks one recipe |
/recipe take @s minecraft:diamond_sword | Locks one recipe |
Bedrock writes the star in quotes or plain. Unlocking only changes the book; see the recipe book.
How do you use /advancement?
| Command | What it does |
|---|---|
/advancement grant @s everything | Gives every advancement |
/advancement revoke @s everything | Takes every advancement away |
/advancement grant @s only minecraft:story/mine_diamond | Gives one |
/advancement grant @s from <advancement> | Gives one and everything after it |
/advancement grant @s through <advancement> | Gives one, its parents and its children |
Java also has until, which gives the parents up to it. List: advancements and achievements.
When are these useful?
- Resetting a player's advancements for a fresh challenge with revoke everything.
- Map makers lock recipes and use the limited_crafting game rule so players must unlock them; see game rules.
- Data packs use advancements as triggers, then revoke them so they can fire again; see data packs.
Does Bedrock have /advancement?
No. Bedrock has achievements instead, and using cheats in a world turns achievements off for it.
Who can use them?
Operators at level 2 on Java, or 1 on Bedrock for /recipe with cheats on. Command basics: Minecraft commands.
Frequently asked questions
How do you unlock all recipes?
/recipe give @s *
Sources
Every fact on this page was checked against these pages; the wording is ours.