Skip to main content

/recipe

Gives or takes recipe knowledge from players. Affects which recipes appear in the recipe book.

Category
Data
Permission Level
Game Master
Version Added
1.12

Syntax

/recipe <give|take> <targets> <recipe|*>

Parameters

NameTypeRequiredDescription
actionliteralRequiredgive or take.
targetsentityRequiredThe player(s) to affect.
reciperesourceRequiredThe recipe ID to grant/revoke, or * for all recipes.

Examples

/recipe give @s *

Unlocks all recipes in the recipe book for yourself.

/recipe take @a *

Removes all recipe knowledge from all players.

/recipe give @p minecraft:diamond_sword

Unlocks the diamond sword recipe for the nearest player.

Common Mistakes

Notes

Recipes are unlocked in the recipe book UI. Players can still craft items without unlocking recipes by placing items in the crafting grid manually.

Related Commands

Need a Minecraft server?

Try these commands on Astroworld or host your own server.

Try Astroworld Hosting