This page relates to Ex Nihilo: Sequentia, which has built-in support!

import mods.exnihilosequentia.ZenCompostRecipe;

  • create(String name)
  • setInput(IIngredient input) the input
  • setAmount(int amount) the chance for an item to add a level of compost
ZenScript
Copy
<recipetype:exnihilosequentia:compost>.create("compost_test").setInput(<item:minecraft:oak_leaves>).setAmount(100);
ZenScript
Copy
<recipetype:exnihilosequentia:compost>.removeRecipe(<item:minecraft:melon_slice>);