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

Arc Furnace

The Arc Furnace package can be used to add/remove recipes to/from the Immersive Engineering Arc Furnace.

Calling The Package

You can call the ArcFurnace package using mods.immersiveengineering.ArcFurnace.

Add Recipe

RequiredTypeData Type
Required
Required
Type
Output
Data Type
IItemStack
Required
Required
Type
Input
Data Type
IIngredient
Required
Required
Type
Slag
Data Type
IItemStack
Required
Required
Type
Time
Data Type
Integer
Required
Required
Type
Energy Per Tick
Data Type
Integer
Required
Optional
Type
Additives
Data Type
IIngredient Array[]
Required
Optional
Type
Special Recipe Type
Data Type
String specialRecipeTypes

Example

script.zs
//Example:
mods.immersiveengineering.ArcFurnace.addRecipe(IItemStack output, IIngredient input, IItemStack slag, int time, int energyPerTick, @Optional IIngredient[] additives, @Optional String specialRecipeType);
mods.immersiveengineering.ArcFurnace.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:dirt>, 2000, 2048);
mods.immersiveengineering.ArcFurnace.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:dirt>, 2000, 2048, [<ore:oreIron>, <ore:oreGold>]);
mods.immersiveengineering.ArcFurnace.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:dirt>, 2000, 2048, [<ore:oreIron>, <ore:oreGold>], "Ores");
mods.immersiveengineering.ArcFurnace.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:dirt>, 2000, 2048, [<ore:oreIron>, <ore:oreGold>], "Alloying");

Remove Recipe

TypeData Type
Type
Output
Data Type
IItemstack

Example

script.zs
//Example:
mods.immersiveengineering.ArcFurnace.removeRecipe(IItemstack output);
mods.immersiveengineering.ArcFurnace.removeRecipe(<minecraft:diamond>);