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

Casting Block

The Casting Block is a machine that converts an input fluid into an output item.

Package

mods.steamagerevolution.CastingBlock

Methods

  • IItemStack output The result of the recipe.
  • ILiquidStack input The input of the recipe.
  • int craftTime Crafting time for machine to process

Addition

script.zs
mods.steamagerevolution.CastingBlock.addRecipe(ILiquidStack input, IItemStack output, int craftTime);
mods.steamagerevolution.CastingBlock.addRecipe(<liquid:lava>*1000, <minecraft:obsidian>, 200);

Removal

script.zs
mods.steamagerevolution.CastingBlock.removeRecipe(IItemStack output);
mods.steamagerevolution.CastingBlock.removeRecipe(<minecraft:iron_block>);
mods.steamagerevolution.CastingBlock.removeAll();