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

Canner

Package

import mods.ic2.Canner;

Methods

  • IItemStack output The product
  • IIngredient container The ingredient to be “filled”
  • IIngredient filler The ingredient with which is filled into the container

Add Bottle Recipe

script.zs
mods.ic2.Canner.addBottleRecipe(IItemStack output, IIngredient container, IIngredient filler);
mods.ic2.Canner.addBottleRecipe(<minecraft:water_bucket>, <minecraft:bucket>, <minecraft:ice>);

Add Enrich Recipe

script.zs
mods.ic2.Canner.addEnrichRecipe(ILiquidStack output, ILiquidStack input, IIngredient additive);
mods.ic2.Canner.addEnrichRecipe(<liquid:lava> * 1000, <liquid:water> * 1000, <minecraft:redstone>);