|This feature is exclusive to Java Edition.|
|— Dinnerbone on using recipes|
Recipes are a way to gradually guide new players into Minecraft.
Recipes can be obtained in various ways. Using the recipe will automatically make the player discover it. Recipes can also be granted using the
/recipe command or as a reward for completing an advancement. Vanilla survival has multiple advancements that grant recipes, which trigger when for example the player obtains an item required in the recipe.
Once a recipe has been discovered, it will be added to the player's recipe book. Discovered recipes are stored in the player's
Recipes do not need to be discovered for the player to be able to use them, unless
/gamerule doLimitedCrafting is set to
All recipe JSON files are structured according to the following format:
- The root tag.
- type: The type of crafting recipe. Can be one of these 15 types.
- group: An identifier. Used to group multiple recipes together in the recipe book.
- pattern: A list of keys used to describe the 3x3 pattern for shaped crafting. Each row in the crafting grid is one string in this list containing 3 or less keys. All strings in this list need to have the same amount of keys. A space can be used to indicate an empty spot.
- key: All keys used for shaped crafting.
- ingredients: A list of ingredients used for shapeless crafting.
- result: The output item of the recipe.