Immersive Engineering Squeezer
Link to immersive-engineering-squeezer
The Squeezer is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe()
and removeAll()
.
Metodi
Link to metodi
Add Item Recipe
Link to add-item-recipe
The following script will add a recipe that will output Dirt from nine Slag and 9000 IF.
ZenScript Copy// <recipetype:immersiveengineering:squeezer>.addRecipe(string recipePath, IIngredient input, int energy, IItemStack itemOutput)
<recipetype:immersiveengineering:squeezer>.addRecipe("slag_off", <item:immersiveengineering:slag> * 9, 5000, <item:minecraft:dirt>);
Add Fluid Recipe
Link to add-fluid-recipe
The following script will add a recipe that will output 250Mb of Creosote (Fluid) from 8 Coal and 6000 IF.
ZenScript Copy// <recipetype:immersiveengineering:squeezer>.addRecipe(string recipePath, IIngredient input, int energy, IFluidStack fluidOutput)
<recipetype:immersiveengineering:squeezer>.addRecipe("the_last_drops", <item:minecraft:coal> * 8, 6000, <fluid:immersiveengineering:creosote> * 250);
Add Item and Fluid Recipe
Link to add-item-and-fluid-recipe
The following script will add a recipe that will output 2500Mb of Creosote (Fluid) and a Diamond from 8 Coal Blocks and 6000 IF.
ZenScript Copy// <recipetype:immersiveengineering:squeezer>.addRecipe(string recipePath, IIngredient input, int energy, IFluidStack fluidOutput, IItemStack itemOutput)
<recipetype:immersiveengineering:squeezer>.addRecipe("pressure_creates_diamonds", <item:minecraft:coal_block> * 8, 6000, <fluid:immersiveengineering:creosote> * 2500, <item:minecraft:diamond>);
Remove Item Recipes
Link to remove-item-recipes
The following script will remove all recipes from the Squeezer that output HOP Graphite Dust.
ZenScript Copy//<recipetype:immersiveengineering:squeezer>.removeRecipe(IItemStack output)
<recipetype:immersiveengineering:squeezer>.removeRecipe(<item:immersiveengineering:dust_hop_graphite>);
Remove FluidStack Recipes
Link to remove-fluidstack-recipes
The following script will remove all recipes from the Squeezer that output exactly 60Mb of Plant Oil.
ZenScript Copy// <recipetype:immersiveengineering:squeezer>.removeRecipe(IFluidStack output)
<recipetype:immersiveengineering:squeezer>.removeRecipe(<fluid:immersiveengineering:plantoil> * 60);
Remove Fluid Recipes
Link to remove-fluid-recipes
The following script will remove all recipes from the Squeezer that output any amount of Plant Oil.
ZenScript Copy// <recipetype:immersiveengineering:squeezer>.removeRecipe(MCFluid output)
<recipetype:immersiveengineering:squeezer>.removeRecipe(<fluid:immersiveengineering:plantoil>.fluid);