import mods.gardenstuff.CompostBin;

  • IItemStack item The item to be composted.
  • int processTime Amount of energy created per tick in a base-line machine.
  • IOreDictEntry oredictKey An oreDictionary entry.

Add Compostable Item

Link to add-compostable-item

ZenScript
Copy
mods.gardenstuff.CompostBin.add(IItemStack item, int processTime);

mods.gardenstuff.CompostBin.add(<minecraft:carrot>, 150);

Add Compostable oreDictionary Entry

Link to add-compostable-oredictionary-entry

ZenScript
Copy
mods.gardenstuff.CompostBin.add(oredictKey, int processTime);

mods.gardenstuff.CompostBin.add(<ore:cropCarrot>, 150);