Recipes are setup in Json files under the behavior_packs /'name of pack'/ recipes directory.Recipe JSON files have different structures dependent on their type.There are 3 types of recipes, Furnace, Shaped and Shapeless.
Represents a furnace recipe for a furnace.'Input' items will burn and transform into items specified in 'output'..
Name | Type | Description |
---|---|---|
input | item names | Items used as input for the furnace recipe. |
output | item names | Items used as output for the furnace recipe. |
{ "format_version": "1.12", "minecraft:recipe_furnace": { "description": { "identifier": "minecraft:furnace_beef" }, "tags": ["furnace", "smoker", "campfire", "soul_campfire"], "input": { "item": "minecraft:beef", "data": 0, "count": 4 }, "output ": "minecraft:cooked_beef" } }
Represents a Potion Brewing Container Recipe..
Name | Type | Description |
---|---|---|
input | potion | input potion used in the brewing container recipe. |
output | potion | output potion from the brewing container recipe. |
reagent | item | item used in the brewing container recipe with the input potion. |
tags | array of strings | Item used in a Brewing Container Recipe. |
{ "format_version": "1.12", "minecraft:recipe_brewing_container": { "description": { "identifier": "minecraft:brew_potion_sulphur" }, "tags": [ "brewing_stand" ], "input": "minecraft:potion", "reagent": "minecraft:gunpowder", "output": "minecraft:splash_potion", } }
Represents a Potion Brewing Mix..
Name | Type | Description |
---|---|---|
input | potion | input potion used on the brewing stand. |
output | potion | output potion from mixing the input potion with the reagent on the brewing stand. |
reagent | item | item used to mix with the input potion. |
tags | array of strings | Item used to make a brewing mix. |
{ "format_version": "1.12", "minecraft:recipe_brewing_mix": { "description": { "identifier": "minecraft:brew_awkward_blaze_powder" }, "tags": [ "brewing_stand" ], "input": "minecraft:potion_type:awkward", "reagent": "minecraft:blaze_powder", "output": "minecraft:potion_type:strength", } }
Represents a shaped crafting recipe for a crafting table.The key used in the pattern may be any single character except the 'space' character, which is reserved for empty slots in a recipe..
Name | Type | Description |
---|---|---|
key | array of key and item pairs | patten key character mapped to item names. |
pattern | array of strings | characters that represent a pattern to be defined by keys. |
priority | integer | Item used as output for the furnace recipe. |
result | array of item names | when input items match the pattern then these items are the result. |
tags | array of strings | Item used as input for the furnace recipe. |
{ "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 } } }
Represents a shapeless crafting recipe..
Name | Type | Description |
---|---|---|
ingredients | array of item names | items used as input (without a shape) for the recipe. |
priority | integer | Item used as output for the furnace recipe. |
result | array of item names | these items are the result. |
tags | array of strings | Item used as input for the furnace recipe. |
{ "format_version": "1.12", "minecraft:recipe_shapeless": { "description": { "identifier": "minecraft:firecharge_coal_sulphur" }, "priority": 0, "ingredients": { "item": "minecraft:fireball", "data": 0, "count": 4 }, "result": { "item": "minecraft:blaze_powder", "data": 4 } } }