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

Metal Press

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

Calling The Package

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

Add Recipe

RequiredTypeData Type
Required
Required
Type
Output
Data Type
IItemstack
Required
Required
Type
Input
Data Type
IIngredient
Required
Required
Type
Mold
Data Type
IItemstack
Required
Required
Type
Energy
Data Type
Integer
Required
Required
Type
Input Size
Data Type
Integer

Example

script.zs
//Example:
mods.immersiveengineering.MetalPress.addRecipe(IItemStack output, IIngredient input, IItemStack mold, int energy, @Optional int inputSize);
mods.immersiveengineering.MetalPress.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:emerald>, 2000);
mods.immersiveengineering.MetalPress.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:emerald>, 2000, 16);

Remove Recipe

TypeData Type
Type
Output
Data Type
IItemstack

Example

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

Remove By Mold

TypeData Type
Type
Output
Data Type
IItemstack

Example

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