Skip to content
JasperLorelai edited this page Aug 21, 2023 · 18 revisions

Custom Recipes

Custom recipes can be defined in the general.yml file or any spell file. The main configuration looks like this:

recipes:
   randomKey:
       # (Recipe configuration section)
       # type: 

General configuration

Option Description
type Valid types: shaped, shapeless, furnace, smoking, campfire, blasting, stonecutting, and smithing.
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 a string which makes the recipe unique from all other recipes. It has to be lowercase.

Shaped Recipe:

Option Description
shape Recipe shape is a string list. It should have 3 string elements, every 3 characters long. It's representing a 3x3 shape. Take a look below for an example.
ingredients Map of the ingredients. Key-value pair, where the key is a shape character, and the value is a material. Unmapped characters usually represent air.

Example:

shape:
    - "I#I"
    - "III"
    - "III"
ingredients:
    I: iron_ingot

Shapeless Recipe:

Option Description
ingredients A string list of materials.

Cooking Recipe:

This represents smoking, campfire and blasting recipes.

Option Description
ingredient A material.
experience Number of experience points to reward.
cooking-time Server ticks duration.

Stonecutter Recipe:

Option Description
ingredient A material.

Smithing Recipe:

Option Description
base A material.
addition A material.

Clone this wiki locally