Class

import mods.pyrotech.MechanicalCompactor;

Methods

static void addRecipe(
  string name,       // unique recipe name
  IItemStack output, // recipe output
  IIngredient input, // recipe input
  int amount         // number of input items required
);

static void addRecipe(
  string name,           // unique recipe name
  IItemStack output,     // recipe output
  IIngredient input,     // recipe input
  int amount,            // number of input items required
  int[] toolUsesRequired // overrides default provided in config
);

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

static void removeAllRecipes();

Examples

import mods.pyrotech.MechanicalCompactor;

MechanicalCompactor.addRecipe("ash_pile_from_ash", <pyrotech:pile_ash>, <pyrotech:material:0>, 8);