Minecraft:Commands/recipe: Difference between revisions
From SAS Gaming Wiki
More actions
recipe is a cheat on BE and JE |
Remove broken links to missing pages |
||
| Line 4: | Line 4: | ||
* 2 {{only|java|short=1}} | * 2 {{only|java|short=1}} | ||
* 1 {{only|bedrock|short=1}} | * 1 {{only|bedrock|short=1}} | ||
|others= | |others=Cheat only | ||
}} | }} | ||
Gives or takes (unlocks or locks) | Gives or takes (unlocks or locks) recipes for players. | ||
== Syntax == | == Syntax == | ||
| Line 68: | Line 68: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|bedrock}} | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.20.10|exp=Recipe Unlocking|dev=Preview 1.20.10.21|Added {{cmd|recipe|link=none}} behind the "Recipe Unlocking" | |{{HistoryLine||1.20.10|exp=Recipe Unlocking|dev=Preview 1.20.10.21|Added {{cmd|recipe|link=none}} behind the "Recipe Unlocking" experimental toggle.}} | ||
|{{HistoryLine||1.20.30|exp=Recipe Unlocking|dev=Preview 1.20.20.20|Updated the syntax to match {{JE}}.|The recipes are now suggested by the | |{{HistoryLine||1.20.30|exp=Recipe Unlocking|dev=Preview 1.20.20.20|Updated the syntax to match {{JE}}.|The recipes are now suggested by the command auto-complete.|Now an output message appears after the command is executed.}} | ||
|{{HistoryLine||1.20.30|dev=Preview 1.20.20.21|{{cmd|recipe|link=none}} is no longer behind the "Recipe Unlocking" experimental toggle.}} | |{{HistoryLine||1.20.30|dev=Preview 1.20.20.21|{{cmd|recipe|link=none}} is no longer behind the "Recipe Unlocking" experimental toggle.}} | ||
|{{HistoryLine|||dev=Preview 1.20.20.22|Renamed the <code>''victim'': target</code> argument to <code>''player'': target</code>.}} | |{{HistoryLine|||dev=Preview 1.20.20.22|Renamed the <code>''victim'': target</code> argument to <code>''player'': target</code>.}} | ||
| Line 77: | Line 77: | ||
*[[Minecraft:Knowledge Book]] | *[[Minecraft:Knowledge Book]] | ||
*{{cmd|gamerule doLimitedCrafting}} – Whether players should only be able to | *{{cmd|gamerule doLimitedCrafting}} – Whether players should only be able to craft recipes that they have unlocked first. | ||
== External links == | == External links == | ||
| Line 86: | Line 86: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/recipe | |||
es:Comandos/recipe | |||
ja:コマンド/recipe | |||
pt:Comandos/recipe | |||
ru:Команды консоли/recipe | |||
zh:命令/recipe | |||
Revision as of 15:44, 9 April 2026
Gives or takes (unlocks or locks) recipes for players.
Syntax
recipe give <targets> *(Template:El)recipe give <player: target> *(Template:El)recipe give <player: target> "*"(Template:El)- Gives (unlocks) all recipes to the player.
recipe take <targets> *(Template:El)recipe take <player: target> *(Template:El)recipe take <player: target> "*"(Template:El)- Takes (locks) all recipes from the player.
recipe give <targets> <recipe>(Template:El)recipe give <player: target> <recipe: string>(Template:El)- Gives (unlocks) a specified recipe to the player.
recipe take <targets> <recipe>(Template:El)recipe take <player: target> <recipe: string>(Template:El)- Takes (locks) a specified recipe from the player.
Arguments
- Specifies the player(s) to give or take the recipe from.
- Template:Arg desc
- Specifies a recipe to give or take.
- Template:Arg desc Template:IN, must be the ID of a recipe (namespace cannot be omitted or added), see the official document.
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table
History
Java Edition
Bedrock Edition
See also
- Minecraft:Knowledge Book
- Template:Cmd – Whether players should only be able to craft recipes that they have unlocked first.
External links
de:Befehl/recipe es:Comandos/recipe ja:コマンド/recipe pt:Comandos/recipe ru:Команды консоли/recipe zh:命令/recipe