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

Immersive Engineering Bottling Machine

Link to 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.

ZenScript
Copy
// <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>);

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

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

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