Immersive Engineering Mixer
Link to immersive-engineering-mixer
The Mixer 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 that will output 8000Mb of Creosote (Fluid) when an Oak Sapling, four Bone Meal, a bucket of Creosote and 8000Mb of Water (Fluid) is put into a Mixer.
ZenScript Copy// <recipetype:immersiveengineering:mixer>.addRecipe(String recipePath, MCTag<MCFluid> fluidInput , IIngredientWithAmount[] IIngredientinputItems, int energy, MCFluid output, int amount)
<recipetype:immersiveengineering:mixer>.addRecipe("grow_creosote_oil", <tag:fluids:minecraft:water>, [<item:minecraft:oak_sapling>, <item:minecraft:bone_meal> * 4, <item:immersiveengineering:creosote_bucket>], 5000, <fluid:immersiveengineering:creosote>, 8000);
Remove FluidStack Recipes
Link to remove-fluidstack-recipes
The following script will remove all recipes from the Mixer that output exactly 500Mb of Concrete (Fluid).
ZenScript Copy// <recipetype:immersiveengineering:mixer>.removeRecipe(IFluidStack output)
<recipetype:immersiveengineering:mixer>.removeRecipe(<fluid:immersiveengineering:concrete> * 500);
Remove Fluid Recipes
Link to remove-fluid-recipes
The following script will remove all recipes from the Mixer that output any amount of Concrete (Fluid).
ZenScript Copy// <recipetype:immersiveengineering:mixer>.removeRecipe(MCFluid output)
<recipetype:immersiveengineering:mixer>.removeRecipe(<fluid:immersiveengineering:concrete>.fluid);
Remove Potion Recipes
Link to remove-potion-recipes
Potion Recipes are hardcoded in, the only way to remove them it to remove all of them at once, and is done like so.
ZenScript Copy<recipetype:immersiveengineering:mixer>.removeByName("immersiveengineering:mixer_potion_list");