Refinery
Link to refinery
The Refinery package can be used to add/remove recipes to/from the Immersive Engineering Refinery.
Calling The Package
Link to calling-the-package
You can call the Refinery package using mods.immersiveengineering.Refinery
.
Add Recipe
Link to add-recipe
Required | Type | Data 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
Link to example
ZenScript Copy//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
Link to remove-recipe
Type | Data Type |
---|---|
Type Output | Data Type Fluidstack |
Example
Link to example-1
ZenScript Copy//Example
mods.immersiveengineering.Refinery.removeRecipe(ILiquidStack output);
mods.immersiveengineering.Refinery.removeRecipe(<liquid:iron>);