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

Refinery

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

Calling The Package

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

Add Recipe

RequiredTypeData Type
Required
Required
Type
Output
Data Type
Fluidstack
Required
Required
Type
Input 1
Data Type
Fluidstack
Required
Required
Type
Input 2
Data Type
Fluidstack
Required
Required
Type
Energy
Data Type
Integer

Example

script.zs
//Example
mods.immersiveengineering.Refinery.addRecipe(ILiquidStack output, ILiquidStack input0, ILiquidStack input1, int energy);
mods.immersiveengineering.Refinery.addRecipe(<liquid:iron>, <liquid:water>, <liquid:lava>, 2048);

Remove Recipe

TypeData Type
Type
Output
Data Type
Fluidstack

Example

script.zs
//Example
mods.immersiveengineering.Refinery.removeRecipe(ILiquidStack output);
mods.immersiveengineering.Refinery.removeRecipe(<liquid:iron>);