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

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

Example

//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

Type Data Type
Output IItemstack

Example

//Example:
mods.immersiveengineering.MetalPress.removeRecipe(IItemstack output);

mods.immersiveengineering.MetalPress.removeRecipe(<minecraft:diamond>);

Remove By Mold

Type Data Type
Output IItemstack

Example

//Example:
mods.immersiveengineering.MetalPress.removeRecipeByMold(IItemstack output);

mods.immersiveengineering.MetalPress.removeRecipeByMold(<minecraft:diamond>);