Home Migration Guide Getting Started With Scripts Commands Examples
Generic JSON Recipes
This page relates to Ex Nihilo: Sequentia, which has built-in support!

Composting

Package

import mods.exnihilosequentia.ZenCompostRecipe;

Methods

  • create(String name)
  • setInput(IIngredient input) the input
  • setAmount(int amount) the chance for an item to add a level of compost

Addition

script.zs
<recipetype:exnihilosequentia:compost>.create("compost_test").setInput(<item:minecraft:oak_leaves>).setAmount(100);

Removal

script.zs
<recipetype:exnihilosequentia:compost>.removeRecipe(<item:minecraft:melon_slice>);