Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers
This page relates to Immersive Intelligence, which has built-in support!

Chemical Bath

The ChemicalBath package can be used to modify the Immersive Intelligence Chemical Bath recipes.

Importing the Package

script.zs
import mods.immersiveintelligence.ChemicalBath;

Adding Recipes

Parameters

TypeNameRequired
Type
IIngredient
Name
Item Input
Required
Yes
Type
IItemStack
Name
Item Output
Required
Yes
Type
ILiquidStack
Name
Fluid Input
Required
Yes
Type
int
Name
Energy
Required
Yes
Type
int
Name
Time
Required
Yes

Syntax

script.zs
mods.immersiveintelligence.ChemicalBath.addRecipe(IIngredient itemInput, IItemStack itemOutput, ILiquidStack fluidInput, int energy, int time);

Example

script.zs
mods.immersiveintelligence.ChemicalBath.addRecipe(<ore:ingotIron>, <minecraft:diamond>, <liquid:lava>, 2000, 200);

Adding Washing Recipes

Washing recipes are functionally the same as regular recipes, but are placed in a different category in JEI.

Parameters

TypeNameRequired
Type
IIngredient
Name
Item Input
Required
Yes
Type
IItemStack
Name
Item Output
Required
Yes
Type
ILiquidStack
Name
Fluid Input
Required
Yes
Type
int
Name
Energy
Required
Yes
Type
int
Name
Time
Required
Yes

Syntax

script.zs
mods.immersiveintelligence.ChemicalBath.addWashingRecipe(IIngredient itemInput, IItemStack itemOutput, ILiquidStack fluidInput, int energy, int time);

Example

script.zs
mods.immersiveintelligence.ChemicalBath.addWashingRecipe(<ore:ingotIron>, <minecraft:diamond>, <liquid:water>, 2000, 200);

Removing Recipes

Parameters

TypeNameRequired
Type
IItemStack
Name
Output
Required
Yes

Syntax

script.zs
mods.immersiveintelligence.ChemicalBath.removeRecipe(IItemStack output);

Example

script.zs
mods.immersiveintelligence.ChemicalBath.removeRecipe(<minecraft:diamond>);