Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Squeezer

The Squeezer package can be used to add/remove recipes to/from the Immersive Engineering Squeezer.

Calling The Package

You can call the Squeezer package using mods.immersiveengineering.Squeezer.

Add Recipe

RequiredTypeData Type
Required
Required
Type
Output
Data Type
IItemStack
Required
Required
Type
Fluid
Data Type
Fluidstack
Required
Required
Type
Input
Data Type
IIngredient
Required
Required
Type
Energy
Data Type
Integer

Example

script.zs
//Example:
mods.immersiveengineering.Squeezer.addRecipe(IItemStack output, ILiquidStack fluid, IIngredient input, int energy);
mods.immersiveengineering.Squeezer.addRecipe(<minecraft:diamond>, <liquid:water>, <ore:logWood>, 2048);

Remove Fluid Recipe

TypeData Type
Type
Output
Data Type
Fluidstack

Example

script.zs
//Example:
mods.immersiveengineering.Squeezer.removeFluidRecipe(ILiquidStack fluid);
mods.immersiveengineering.Squeezer.removeFluidRecipe(<liquid:water>);

Remove Item Recipe

TypeData Type
Type
Output
Data Type
IItemstack

Example

script.zs
//Example:
mods.immersiveengineering.Squeezer.removeItemRecipe(IItemStack stack);
mods.immersiveengineering.Squeezer.removeItemRecipe(<minecraft:diamond>);

Remove By Input

TypeData Type
Type
Output
Data Type
IItemstack

Example

script.zs
//Example:
mods.immersiveengineering.Squeezer.removeByInput(IItemStack stack);
mods.immersiveengineering.Squeezer.removeByInput(<minecraft:log>);