Unlock and Lock Crafting Recipes for Players
The /recipe command in Minecraft Bedrock Edition controls which built-in vanilla recipes a player can use to craft items. You can use it to either unlock a recipe for someone or take a recipe away so they cannot craft that item anymore.
Map makers and server hosts use this command to control player progression. For example, you can lock specific crafting recipes until a player finishes a quest or reaches a new area.
/recipe give <player: target> <recipe: UnlockableRecipeValues>Gives a player a particular vanilla item that they are allowed to craft via recipe.
| Argument | Type | What it means |
|---|---|---|
player | target | - `recipe`: UnlockableRecipeValues |
/recipe give @s minecraft:crafting_tableUnlocks the crafting table recipe for yourself.
/recipe give @p minecraft:furnaceGives the nearest player the ability to craft a furnace.
/recipe give @a minecraft:torchUnlocks the torch crafting recipe for every player currently in the world.
/recipe give @r minecraft:chestGrants the chest recipe to one random player.
/recipe give Steve minecraft:iron_pickaxeUnlocks the iron pickaxe recipe specifically for the player named Steve.
/recipe take @s minecraft:wooden_swordRemoves the wooden sword recipe from your own crafting list.
/recipe take @p minecraft:bowTakes the bow crafting recipe away from the closest player.
/recipe take @a minecraft:tntRemoves the ability to craft TNT from all players on the server.
/recipe take Alex minecraft:diamond_helmetLocks the diamond helmet recipe for the player named Alex.
In Minecraft Java Edition, the /recipe command has the same give and take options for a specific recipe, and its documentation also explicitly lists a wildcard * option (such as /recipe give <targets> * or /recipe take <targets> *) alongside selecting a single recipe.
No, it does not put the finished item into their inventory; it only unlocks or removes the recipe that allows the player to craft that vanilla item.
This command requires cheats to be enabled in the world and requires you to have the Game Directors permission level.
Use the /recipe take <player: target> <recipe: UnlockableRecipeValues> command to remove that recipe from the player.