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

Immersive Engineering Coke Oven

Link to immersive-engineering-coke-oven

The Coke Oven 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 to the Coke Oven that, after 100 ticks, will output a Treated Stick and 1Mb of Creosote (Fluid) with an input of a Stick.

ZenScript
Copy
// <recipetype:immersiveengineering:coke_oven>.addRecipe(string recipePath, IIngredient ingredient, int time, IItemStack output, @Optional(0) int creosoteProduced)

<recipetype:immersiveengineering:coke_oven>.addRecipe("burn_a_stick", <item:minecraft:stick>, 100, <item:immersiveengineering:stick_treated>, 1);

The following script will remove all recipes from the Coke Oven that output Coal Coke.

ZenScript
Copy
// <recipetype:immersiveengineering:coke_oven>.removeRecipe(IItemStack fuel)

<recipetype:immersiveengineering:coke_oven>.removeRecipe(<item:immersiveengineering:coal_coke>);