Recipes Explained
Minecraft Bedrock Edition supports several types of crafting recipes, each defined using JSON files that tell the game how to transform inputs into outputs. Understanding these recipes can help you customize gameplay or create your own mods and add-ons.
Types of Recipes
1. Shaped Recipe
A shaped recipe requires items to be placed in a specific pattern on the crafting grid. Each character in the pattern corresponds to an ingredient defined by the key.
Key points:
- The pattern is an array of strings.
- Each character (except space) represents an ingredient.
- The key maps characters to specific items or item data.
Example:
{
"format_version": "1.12",
"minecraft:recipe_shaped": {
"description": {
"identifier": "minecraft:acacia_boat"
},
"tags": ["crafting_table"],
"pattern": [
"#P#",
"###"
],
"key": {
"P": {
"item": "minecraft:wooden_shovel"
},
"#": {
"item": "minecraft:planks",
"data": 4
}
},
"result": {
"item": "minecraft:boat",
"data": 4
}
}
}2. Shapeless Recipe
A shapeless recipe does not require ingredients to be placed in any specific pattern. Simply having the required items anywhere in the crafting interface will produce the result.
Example:
{
"format_version": "1.21.60",
"minecraft:recipe_shapeless": {
"description": {
"identifier": "wildphire_ps:mushroom_pile_1_recipe"
},
"tags": ["stonecutter"],
"ingredients": [
{
"item": "minecraft:red_mushroom"
}
],
"result": {
"item": "wildphire_ps:mushroom_pile_1",
"count": 1
},
"unlock": [
{
"item": "minecraft:potion"
}
]
}
}3. Smithing Transform Recipe
This recipe type uses the Smithing Table to transform an item while preserving its properties.
Example:
{
"format_version": "1.12",
"minecraft:recipe_smithing_transform": {
"description": {
"identifier": "minecraft:smithing_netherite_boots"
},
"tags": ["smithing_table"],
"template": "minecraft:netherite_upgrade_smithing_template",
"base": "minecraft:diamond_boots",
"addition": "minecraft:netherite_ingot",
"result": "minecraft:netherite_boots"
}
}4. Smithing Trim Recipe
This recipe applies a decorative trim to armor via the Smithing Table, preserving other item properties.
Example:
{
"format_version": "1.12",
"minecraft:recipe_smithing_trim": {
"description": {
"identifier": "minecraft:smithing_diamond_boots_jungle_quartz_trim"
},
"tags": ["smithing_table"],
"template": "minecraft:jungle_temple_smithing_template",
"base": "minecraft:diamond_boots",
"addition": "minecraft:quartz"
}
}5. Smelting / Cooking Recipes
Smelting recipes transform one item into another using heat-based appliances like furnaces, smokers, and campfires. These recipes are simpler than crafting recipes as they only require a single input item.
Key points:
- Each recipe defines a single input and output item
- The
tagsarray specifies which cooking devices can use the recipe - Different cooking devices process items at different speeds (smokers cook food faster than furnaces)
- Multiple cooking devices can be specified for the same recipe
Example:
{
"format_version": "1.17.41",
"minecraft:recipe_furnace": {
"description": {
"identifier": "minecraft:cooked_chicken_cooking_recipe"
},
"input": "minecraft:chicken",
"output": "minecraft:cooked_chicken",
"tags": [
"smoker",
"campfire",
"soul_campfire",
"furnace"
]
}
}Simplifying Recipe Syntax
Minecraft recipes can often be shortened by using a simplified syntax, especially when defaults apply:
- Ingredients can be just item strings instead of full objects if no metadata or counts need to be specified.
- Results can be a simple string instead of a detailed object if the count is 1 and no data is needed.
Verbose ingredients:
"ingredients": [
{
"item": "minecraft:fireball",
"data": 0,
"count": 4
}
]Simplified ingredients:
"ingredients": [
"minecraft:fireball"
]Verbose result:
"result": {
"item": "minecraft:blaze_powder",
"data": 4
}Simplified result:
"result": "minecraft:blaze_powder"Tags Reference
Recipe Tags
| Tag | Description |
|---|---|
crafting_table | Recipe is crafted using a crafting table |
stonecutter | Recipe is crafted using a stonecutter |
smithing_table | Recipe uses the Smithing Table |
Item Tags
| Tag | Description |
|---|---|
minecraft:transform_materials | Materials accepted for smithing transform recipes |
minecraft:transformable_items | Base items accepted for smithing transform recipes |
minecraft:transform_templates | Templates accepted for smithing transform recipes |
minecraft:trim_materials | Materials used for smithing trim recipes |
minecraft:trimmable_armors | Armor items accepted for smithing trim recipes |
minecraft:trim_templates | Templates defining trim patterns for smithing trim recipes |
Parameters Overview
| Parameter | Type | Description |
|---|---|---|
assume_symmetry | Boolean | Determines if the recipe assumes symmetrical pattern |
pattern | Array of strings | Pattern layout for shaped recipes |
key | Map of char to item | Defines which item each character represents |
ingredients | Array of item names | Ingredients for shapeless recipes |
result | Item or object | Resulting item(s) from the recipe |
tags | Array of strings | Specifies crafting stations or categories |
template | Item name | Used in smithing recipes for transform/trim templates |
base | Item name | Base item for smithing transformations |
addition | Item name | Item added in smithing operations |
unlock | Array of items (optional) | Items needed to unlock the recipe |
priority | Integer (optional) | Priority for recipe resolution |