OmniGame logoOmniGame

/recipe Command

Grants or revokes one or all crafting recipes from the specified players. Use `*` to affect all recipes. Particularly important when the `doLimitedCrafting` gamerule is enabled, as players can only craft recipes they have been granted.

Syntax
recipe (give|take) <targets> (*|<recipe>)
Permission: 2Edition: Java

Examples

recipe give @a *recipe give @p minecraft:diamond_swordrecipe take @a *recipe take @s minecraft:netherite_upgrade_smithing_template

Notes

Exclusive to Java Edition. The `doLimitedCrafting` gamerule must be `true` for recipe unlocking to restrict crafting; otherwise all recipes are available regardless. Targets must resolve to players (not arbitrary entities). Recipe resource locations follow the standard `namespace:path` format.

More commands