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!

Vulcanizer

The Vulcanizer package can be used to modify the Immersive Intelligence Vulcanizer recipes.

Importing the Package

script.zs
import mods.immersiveintelligence.Vulcanizer;

Adding Recipes

Parameters

TypeNameRequired
Type
IIngredient
Name
Main Input
Required
Yes
Type
IIngredient
Name
Compound Input
Required
Yes
Type
IIngredient
Name
Sulfur Input
Required
Yes
Type
IItemStack
Name
Mold
Required
Yes
Type
int
Name
Energy
Required
Yes
Type
int
Name
Time
Required
Yes
Type
string
Name
Latex Texture
Required
No
Type
string
Name
Rubber Texture
Required
No

Note: the first 3 ingredients don’t have to be rubber, compound and sulfur. It is just a slot name, any IIngredient is allowed.

Latex and Rubber texture are texture path (resource location) strings, f.e. "immersiveintelligence:textures/blocks/multiblock/vulcanizer/latex_strip".
These are displayed on the rollers, during the first phase of the machine animation.

Syntax

script.zs
mods.immersiveintelligence.Vulcanizer.addRecipe(IIngredient mainInput, IIngredient compoundInput, IIngredient sulfurInput, IItemStack itemMold, IItemStack itemOutput, int energy, String resIn, String resOut);
//or
mods.immersiveintelligence.Vulcanizer.addRecipe(IIngredient mainInput, IIngredient compoundInput, IIngredient sulfurInput, IItemStack itemMold, IItemStack itemOutput, int energy);

Example

script.zs
mods.immersiveintelligence.Vulcanizer.addRecipe(<minecraft:golden_ingot>,<ore:ingotIron>,<minecraft:diamond>,
<immersiveintelligence:material_plate>,2000, 200,
"minecraft:textures/blocks/dirt",
"minecraft:textures/blocks/stone"
);
//or
mods.immersiveintelligence.Vulcanizer.addRecipe(<minecraft:golden_ingot>,<ore:ingotIron>,<minecraft:diamond>,<immersiveintelligence:material_plate>,2000, 200);

Removing Recipes

Parameters

TypeNameRequired
Type
IItemStack
Name
Output
Required
Yes

Syntax

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

Example

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