forked from nisovin/MagicSpells
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 72
 
Custom Recipes
        JasperLorelai edited this page Aug 5, 2020 
        ·
        17 revisions
      
    Custom recipes can be defined in the general.yml file or any spell file. The main configuration looks like this:
recipes:
   randomKey:
       # (Recipe map)| Option | Description | 
|---|---|
type | 
Valid types: shaped, shapeless, and furnace.1.14+: smoking, campfire, blasting, and stonecutting. | 
result | 
Magic Item | 
quantity | 
Quantity of the result. | 
group | 
A string. This can be used to group recipes in the Recipe Book. For example, all dye recipes are grouped. | 
namespace-key | 
This key is what makes the recipe unique from all other recipes. | 
| Option | Description | 
|---|---|
shape | 
Recipe shape is a string list. Should have 3 string elements, each 3 characters long. It's representing a 3x3 shape. Check below for an example. | 
ingredients  | 
Map of the ingredients. Key-value pair, where key is a shape character, and value is a material. Unmapped characters usually represent air. | 
Example:
shape:
    - "I#I"
    - "III"
    - "III"
ingredients:
    I: iron_ingot| Option | Description | 
|---|---|
ingredients | 
A string list of materials. | 
This represents smoking, campfire and blasting recipes.
| Option | Description | 
|---|---|
ingredient | 
A material. | 
experience | 
Number of experience score to reward. | 
cooking-time | 
Server ticks duration. | 
| Option | Description | 
|---|---|
ingredient | 
A material. |