Give or Take Player Recipes
The /recipe command lets you control which recipes players have unlocked in Minecraft Java Edition. You can grant specific recipes, unlock every single recipe at once, or remove recipes that a player already knows.
Server operators and map makers use this command to guide player progression or set up custom survival rules. It requires permission level 2, which means cheats must be turned on in single-player worlds.
/recipe give <targets> */recipe give <targets> <recipe>/recipe take <targets> */recipe take <targets> <recipe>/recipe give <targets> */recipe give <targets> <recipe>/recipe take <targets> */recipe take <targets> <recipe>| Argument | Type | What it means |
|---|---|---|
<targets> | target selector players only | Specifies the target players using a player name, a UUID, or a player-only target selector like @p, @a, or @s. |
<recipe> | registry key recipe | Specifies the registry ID of the recipe you want to give or take. |
/recipe give @s *Unlocks every recipe in the game for the player running the command.
/recipe take @a *Removes all unlocked recipes from every player currently online.
/recipe give @p minecraft:crafting_tableGives the nearest player the recipe for a crafting table.
/recipe take Steve minecraft:diamond_swordTakes the diamond sword recipe away from the player named Steve.
/recipe give @r minecraft:golden_appleGrants the golden apple recipe to one random player.
/recipe take @a[tag=beginner] minecraft:enchanting_tableRemoves the enchanting table recipe from all players who have the beginner tag.
/recipe give @a[distance=..10] minecraft:furnaceUnlocks the furnace recipe for all players within 10 blocks.
Measured from the game files of every Java release from 1.13 to 26.3.
Bedrock Edition also includes a /recipe command, which uses the syntax /recipe give <player: target> <recipe: UnlockableRecipeValues>.
Run the command /recipe give @s * to immediately unlock every recipe for yourself.
Use the command /recipe take <targets> * and replace the target with the player's name or a selector like @a.
The /recipe command was already available in Java Edition 1.13 and has remained unchanged through version 26.3.