Class

import mods.pyrotech.StoneCrucible;

Methods

static void addRecipe(
  string name,                // unique recipe name
  ILiquidStack output,        // recipe output
  IIngredient input,          // recipe input
  int burnTimeTicks,          // recipe duration in ticks
  @Optional boolean inherited // true if the recipe should be inherited
);

static void removeRecipes(
  ILiquidStack output // output ingredient to match
);

static void removeAllRecipes();

static void setGameStages(
  Stages stages // game stages
);

Sets game stage logic required to use the device.


Examples

import mods.pyrotech.StoneCrucible;

// melt ice block into a bucket of water in one minute
StoneCrucible.addRecipe("water_from_ice", <liquid:water> * 1000, <minecraft:ice>, 1 * 60 * 20);