ItemsJavaBedrock
/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.
Syntax
Parameters
- action
- literal
- give or take.
- targets
- entity selector
- Players to affect.
- recipe
- recipe ID or *
- A recipe ID, or * for all recipes.
Examples
Unlock every recipe for all players.
Remove the furnace recipe from your book.
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.