Feed The Beast Wiki
Advertisement
This page is about using MineTweaker with Foundry. For using MineTweaker in general, see How to Use MineTweaker 3.

ZenScript Classes

mods.foundry.Melting

Functions Parameters Returns
addRecipe(output, input, *melting_point, *speed)  · output: (ILiquidStack) output of Induction Crucible Furnace recipe.
 · input: (IIngredient) input of Induction Crucible Furnace recipe.
 · melting_point: OPTIONAL (int) temperature in which the ICF must reach to melt the item in K (must be greater than 290)).
 · speed: OPTIONAL (int) % of how fast the item melts (default is 100, higher is faster)
removeRecipe(input)  · input: (IItemStack) input of recipe wanted to be removed.

mods.foundry.Casting

Functions Parameters Returns
addRecipe(output, input, mold, *extra, *speed)  · output: (IItemStack) output of Metal Caster recipe.
 · input: (ILiquidStack) input fluid of Metal Caster recipe.
 · mold: (IItemStack) mold required by the Metal Caster recipe.
 · extra: OPTIONAL (IIngredient) extra item required by the Metal Caster recipe.
 · speed: OPTIONAL (int) % of how fast the item solidifies (default is 100, higher is faster)
removeRecipe(input, mold, *extra)  · input: (ILiquidStack) input of recipe wanted to be removed.
 · mold: (IItemStack) mold required by the recipe wanted to be removed.
 · extra: OPTIONAL (IItemStack) extra item required by the recipe wanted to be removed.
addMold(mold)  · mold: (IItemStack) item to add to the Metal Caster's mold slot accepted items.
removeMold(mold)  · mold: (IItemStack) item to remove from the Metal Caster's mold slot accepted items.

mods.foundry.AlloyFurnace

Functions Parameters Returns
addRecipe(output, input_a, input_b)  · output: (IItemStack) output of the Alloy Furnace recipe.
 · input_a: (IIngredient) first input of the Alloy Furnace recipe.
 · input_b: (IIngredient) second input of the Alloy Furnace recipe.
removeRecipe(input, input_a, input_b)  · input_a: (IIngredient) first input of the recipe wanted to be removed.
 · input_b: (IIngredient) second input of the recipe wanted to be removed.

mods.foundry.AlloyMixer

Functions Parameters Returns
addRecipe(output, inputs)  · output: (ILiquidStack) output of the Alloy Mixer recipe.
 · inputs: (ILiquidStack[]) input of the Alloy Mixer recipe, cannot have more that 4 elements.
removeRecipe(inputs)  · inputs: (ILiquidStack[]) input of the recipe wanted to be removed, cannot have more that 4 elements.

mods.foundry.Atomizer

Functions Parameters Returns
addRecipe(output, input)  · output: (IItemStack) output of Metal Atomizer recipe.
 · input: (ILiquidStack) input fluid of Metal Atomizer recipe.
removeRecipe(input)  · input: (ILiquidStack) input of recipe wanted to be removed.

mods.foundry.Infuser

Functions Parameters Returns
addRecipe(output, input, substance)  · output: (ILiquidStack) output of the Metal Infuser recipe.
 · input: (ILiquidStack) input of the Metal Infuser recipe.
 · substance: (IInfuserSubstance) input substance of the Metal Infuser recipe.
removeRecipe(input, substance)  · input: (ILiquidStack) input of the recipe wanted to be removed.
 · substance: (IInfuserSubstance) input substance of the the recipe wanted to be removed.
addSubstanceRecipe(output, input, energy)  · output: (IInfuserSubstance) output of the Metal Infuser substance recipe.
 · input: (IIngredient) input of the Metal Infuser substance recipe.
 · energy: (int) amount of energy needed to convert the item into substance (1 RF = 10 Energy, 1 EU = 40 Energy).
removeSubstanceRecipe(input)  · input: (IItemStack) input of the substance recipe wanted to be removed.

mods.foundry.IInfuserSubstance

Used to represent substance in Infuser recipes. An instance of this class can be created using:

<infusersubstance:substance> * amount

Example usage

val carbon36 = <infusersubstance:carbon> * 36;


Advertisement