Squeezer
Link to squeezer
The Squeezer package can be used to add/remove recipes to/from the Immersive Engineering Squeezer.
Calling The Package
Link to calling-the-package
You can call the Squeezer package using mods.immersiveengineering.Squeezer
.
Add Recipe
Link to add-recipe
Required | Type | Data 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
Link to example
ZenScript Copy//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
Link to remove-fluid-recipe
Type | Data Type |
---|---|
Type Output | Data Type Fluidstack |
Example
Link to example-1
ZenScript Copy//Example:
mods.immersiveengineering.Squeezer.removeFluidRecipe(ILiquidStack fluid);
mods.immersiveengineering.Squeezer.removeFluidRecipe(<liquid:water>);
Remove Item Recipe
Link to remove-item-recipe
Type | Data Type |
---|---|
Type Output | Data Type IItemstack |
Example
Link to example-2
ZenScript Copy//Example:
mods.immersiveengineering.Squeezer.removeItemRecipe(IItemStack stack);
mods.immersiveengineering.Squeezer.removeItemRecipe(<minecraft:diamond>);
Remove By Input
Link to remove-by-input
Type | Data Type |
---|---|
Type Output | Data Type IItemstack |
Example
Link to example-3
ZenScript Copy//Example:
mods.immersiveengineering.Squeezer.removeByInput(IItemStack stack);
mods.immersiveengineering.Squeezer.removeByInput(<minecraft:log>);