This page relates to Immersive Engineering, which has built-in support!

Immersive Engineering Alloy Kiln

Link to immersive-engineering-alloy-kiln

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

The following script will add a recipe that will output 2 Gold ingots after 200 ticks when 10 Iron Ingots and any item from the Wool Tag is put in an Alloy Kiln.

ZenScript
Copy
// <recipetype:immersiveengineering:alloy>.addRecipe(string recipePath, IIngredient inputA, IIngredient inputB, int time, IItemStack output)

<recipetype:immersiveengineering:alloy>.addRecipe("spin_iron_to_gold", <item:minecraft:iron_ingot> * 10, <tag:items:minecraft:wool>, 200, <item:minecraft:gold_ingot> * 2);

The following script will remove all recipes from the Alloy Kiln that outputs a Constantan Ingot.

ZenScript
Copy
// <recipetype:immersiveengineering:alloy>.removeRecipe(output as IItemStack)

<recipetype:immersiveengineering:alloy>.removeRecipe(<item:immersiveengineering:ingot_constantan>);