/recipe
Unlocks or locks recipes in a player's recipe book. Granting a recipe makes it appear in the book and counts toward related advancements; * targets every recipe at once. Does not affect whether a player can craft manually — only the recipe book listing.
What is /recipe used for?
What /recipe is for
Unlocks or locks recipes in a player's recipe book; * targets every recipe at once.
When to use /recipe
Grant all recipes at the start of a map, or lock them for a progression-gated experience. It affects the book listing, not whether a player can craft manually.
Syntax
Parameters
- action
- literal
- give or take.
- targets
- entity selector
- Players to affect.
- recipe
- recipe ID or *
- A recipe ID, or * for all recipes.
Command builder
Fill in the options below to generate a ready-to-paste /recipe command.
give or take.
Players to affect.
A recipe ID, or * for all recipes.
Examples
Unlock every recipe for all players.
Remove the furnace recipe from your book.
Common questions
How do I unlock all recipes for a player?
Run /recipe give @a * — the * grants every recipe in the recipe book.
Does /recipe stop manual crafting?
No — it only controls the recipe book listing and related advancements, not whether a player can craft by placing items in a grid.
Permission level
/recipe requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.