Compost Recipe
Method Signature
addRecipe(String name, IIngredient input, int amount)
Parameters
name - Recipe name
input - Item to be inserted into barrel for composting
amount - Amount of solids added to a barrel from the input item
Constraints
namemust be globally uniqueamountmust be greater than 0
Example
import mods.exnihilosequentia.CompostRecipe;
<recipetype:exnihilosequentia:compost>.addRecipe("example", <item:minecraft:oak_leaves>, 100);