Index
Recipes |
---|
Furnace Recipe |
Potion Brewing Container Recipe |
Potion Brewing Mix |
Shaped Recipe |
Shapeless Recipe |
Recipes
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.Furnace Recipe
Represents a furnace recipe for a furnace.'Input' items will burn and transform into items specified in 'output'..Parameters
Name | 类型 | Description |
---|---|---|
input | item names | Items used as input for the furnace recipe. |
output | item names | Items used as output for the furnace recipe. |
Potion Brewing Container Recipe
Represents a Potion Brewing Container Recipe..Parameters
Name | 类型 | 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. |
Potion Brewing Mix
Represents a Potion Brewing Mix..Parameters
Name | 类型 | 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. |
Shaped Recipe
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..Parameters
Name | 类型 | 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. |
Shapeless Recipe
Represents a shapeless crafting recipe..Parameters
Name | 类型 | 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. |