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()
.
使用方式
Link to 使用方式
添加配方
Link to 添加配方
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);
Remove Recipes
Link to remove-recipes
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>);