Home Migration Guide Getting Started With Scripts Commands Examples
Generic JSON Recipes
This page relates to Immersive Engineering, which has built-in support!

Immersive Engineering Metal Press

The Metal Press is a type of IRecipeManager and implements all the methods that are available to IRecipeManager’s, such as removeRecipe() and removeAll().

Methods

Add Recipe

The following script will add a recipe to the MEtal Press that will take Paper, use the Engineer’s Manual as a Mold, use 1000 IF and output an Engineer’s Manual.

script.zs
// <recipetype:immersiveengineering:metal_press>.addRecipe(String recipePath, IIngredient input, IItemStack mold, int energy, IItemStack output)
<recipetype:immersiveengineering:metal_press>.addRecipe("copy_manual", <item:minecraft:paper>, <item:immersiveengineering:manual>, 1000, <item:immersiveengineering:manual>);

Remove Recipes

The following script will remove all recipes from the Metal Press that output two Empty Casing.

script.zs
// <recipetype:immersiveengineering:metal_press>.removeRecipe(IItemStack output)
<recipetype:immersiveengineering:metal_press>.removeRecipe(<item:immersiveengineering:empty_casing> * 2);