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

Vat

The Vat is a machine that converts input items and fluids into an output fluid.

Package

mods.steamagerevolution.Vat

Methods

  • ILiquidStack output The result of the recipe.
  • ILiquidStack input Fluid input of the recipe.
  • IIngredient inputItems Items to input of the recipe.
  • int craftTime Crafting time for machine to process

Adding

script.zs
mods.steamagerevolution.Vat.addRecipe(ILiquidStack[] input, IIngredient[] inputItems, ILiquidStack output, int craftTime);
mods.steamagerevolution.Vat.addRecipe([<liquid:tin>*144, <liquid:copper>*144], [<ore:coal>, <ore:cobblestone>], <liquid:steel>*288, 200, 200);

Removing

script.zs
mods.steamagerevolution.Vat.removeRecipe(ILiquidStack output);
mods.steamagerevolution.Vat.removeRecipe(<liquid:lava>);
mods.steamagerevolution.Vat.removeAll();