The Gamepedia and Fandom account systems have now been merged. If your username is incorrect, you have accounts on both platforms that weren't merged, or you have trouble signing in, please submit a support ticket.

Commands/recipe

From Minecraft Wiki
Jump to: navigation, search
recipe
Restrictions

Operator

First introduced

Java Edition 1.12 (17w13a)

Information icon.svg
This feature is exclusive to Java Edition.

Gives or takes (unlocks or locks) recipes for players.

Syntax[edit]

recipe (give|take) <targets> (*|<recipe>)

Arguments[edit]

give|take

If give, the recipe will be given (unlocked) for the player. If take, the recipe will be taken (locked) for the player.

targets

Specifies the player(s) to give or take the recipe from. May be a player name or a target selector.
Entities other than players are not allowed.

*|<recipe>

The recipe ID of the recipe to give or take. If specifies *, gives or takes all recipes from that player.

Result[edit]

Fails if the arguments are not specified correctly, if targets fails to resolve to one or more online players, or if no new recipes are given or taken.

On success, give or take recipes for players.

History[edit]

Java Edition
1.1217w13aAdded /recipe.

See also[edit]

  • Knowledge Book
  • /gamerule doLimitedCrafting – Whether players should only be able to craft recipes that they have unlocked first.