Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Composter

Package

import mods.gardenstuff.CompostBin;

Methods

  • 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

script.zs
mods.gardenstuff.CompostBin.add(IItemStack item, int processTime);
mods.gardenstuff.CompostBin.add(<minecraft:carrot>, 150);

Add Compostable oreDictionary Entry

script.zs
mods.gardenstuff.CompostBin.add(oredictKey, int processTime);
mods.gardenstuff.CompostBin.add(<ore:cropCarrot>, 150);