Skip to main content

Making a custom recipe

To make a recipe that works with multiple outputs, you need a class implementing Recipe<Inventory>, OutputXRecipe<Inventory>. Inventory can be replaced with any class that extends inventory. Important is that the class between brackets matches between both classes

It would look something like this:


public class ExampleRecipe implements Recipe<SimpleInventory>, Output4Recipe<SimpleInventory> {

// [Methods]
}

For every amount of output slots, it works a little bit different, documentation for those can be found below: