Crafting Recipes
The crafting module allows custom shaped and shapeless crafting recipes and smelting products. Vanilla recipes for a specific material can also be disabled to prevent crafting of that material except with the new recipe.
Element | Description | Value/Children |
---|---|---|
Node containing the custom crafting recipes. | ||
Sub-elements | ||
A shaped crafting recipe node. | Shaped Recipe Sub-elements | |
A custom shapeless recipe node. | Shapeless Recipe Sub-elements | |
A custom smelting recipe. | Smelt Recipe Sub-elements | |
Disable all vanilla recipes for this item. | Single Material Pattern |
Recipe Attributes
Attribute | Description | Value | Default |
---|---|---|---|
Disable all vanilla recipes for the same item. This is just a convenient alternative to the element. | true/false | false | |
Override all vanilla recipes resulting in this material. | true/false | false |
Recipe Sub-elements
Element | Description | Type |
---|---|---|
Required Unique The result of this recipe, only one result is allowed per recipe. Accepts all attributes and sub-elements of a normal kit item. | Item |
Shaped Recipes
Shaped recipes require that their items are arranged in a specific location on the crafting grid.
The crafting grid is represented inside <shape>
using <row>
elements.
A <row>
element contains a string with up to 3 symbols specifying the ingredient at that spot in the grid.
An ingredients symbol is defined in the <ingredient symbol="">
attribute.
A shaped recipe does not need to specify all 3 rows of a crafting grid, only one row is required.
All columns in a shaped recipe need to be the same width.
Blank ingredient spots are specifed with a dot .
Element | Description | Value/Children |
---|---|---|
A shaped crafting recipe node. | ||
Sub-elements | ||
Required Unique An ingredient used in this recipe. Only one shape per recipe is allowed. | ||
| | Required An ingredient used in this recipe. A shaped recipe requires at least one ingredient. | Single Material Pattern |
Shape Sub-elements
Element | Description | Value |
---|---|---|
A row in the recipe crafting shape. | Row String |
Shaped Ingredient Attributes
Attribute | Description | Value | Default |
---|---|---|---|
RequiredThe symbol used to specify this ingredients grid location in the recipe. | Single Character | A-Z 0-9 |
Example
Shapeless Recipes
Unlike a shaped recipe, shapeless recipes do not require that their items are arranged in any specific way in the crafting grid.
Element | Description | Value/Children |
---|---|---|
A custom shapeless recipe node. | ||
Sub-elements | ||
| | RequiredAn ingredient used in this recipe. A shapeless recipe requires at least one ingredient. | Single Material Pattern |
Shapeless Ingredient attributes
Attribute | Description | Value | Default |
---|---|---|---|
Amount of items of this type required for this recipe. Items must be in separate slots, not stacked, for this recipe to work. | Number | 1-9 |
Example
Smelt Recipes
Smelt recipes specify what a material gets smelted into in a furnace.
Element | Description | Value/Children |
---|---|---|
A custom smelting recipe. | ||
Sub-elements | ||
| | RequiredUnique An ingredient used in this recipe. A smelt recipe only accepts one ingredient. | Single Material Pattern |
Example