This page relates to Immersive Engineering, which has built-in support!
Разливочная машина Immersive Engineering
Link to разливочная-машина-immersive-engineering
Разливочная машина — это реализация IRecipeManager, она содержит все методы, доступные в нем, такие как removeRecipe()
или removeAll()
.
Методы
Link to методы
Добавление рецептов
Link to добавление-рецептов
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>);
Удаление рецептов
Link to удаление-рецептов
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>);