Immersive Engineeringhas built in mod support! You don't need any other mods for this to work!

Immersive Engineering Bottling Machine

The Bottling Machine 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 Bottling Machine that will use a Stick, 250Mb of any Fluid in the Water Fluid Tag and output a Wooden Pickaxe.

// <recipetype:immersiveengineering:bottling_machine>.addRecipe(string recipePath, IIngredient itemInput, MCTagWithAmount<Fluid> fluidTag, IItemStack output)

<recipetype:immersiveengineering:bottling_machine>.addRecipe("grow_a_pick", <item:minecraft:stick>, <tag:fluids:minecraft:water> * 250, <item:minecraft:wooden_pickaxe>);

Remove Recipes

The following script will remove all recipes from the Bottling Machine that output a Wet Sponge.

// <recipetype:immersiveengineering:bottling_machine>.removeRecipe(IItemStack output)

<recipetype:immersiveengineering:bottling_machine>.removeRecipe(<item:minecraft:wet_sponge>);