This page relates to Immersive Intelligence, which has built-in support!

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

Importing the Package

Link to importing-the-package

ZenScript
Copy
import mods.immersiveintelligence.Sawmill;
TypeNameRequired
Type
IIngredient
Name
Input
Required
Yes
Type
IIngredient
Name
Output
Required
Yes
Type
IItemStack
Name
Secondary Output
Required
Yes
Type
int
Name
Torque
Required
Yes
Type
int
Name
Time
Required
Yes
Type
int
Name
Saw Hardness
Required
Yes
Type
int
Name
Dust Color
Required
Yes

DustColor is a color provided in RGB int format. To get it, pick a color (RGB) in hex and convert the number to decimal.
Saw Hardness determines which saws can be used in the recipe.

MaterialHardness
Material
Iron
Hardness
2
Material
Steel
Hardness
3
Material
Tungsten
Hardness
4
ZenScript
Copy
mods.immersiveintelligence.Sawmill.addRecipe(IIngredient itemInput, IItemStack itemOutput, IItemStack secondaryItemOutput, int torque, int time, int hardness, int dustColor);
ZenScript
Copy
mods.immersiveintelligence.Sawmill.addRecipe(<ore:oreGold>,<minecraft:diamond>,<minecraft:diamond>,10,20,1,0);

Removing Recipes

Link to removing-recipes

TypeNameRequired
Type
IItemStack
Name
Output
Required
Yes
ZenScript
Copy
mods.immersiveintelligence.Sawmill.removeRecipe(IItemStack output);
ZenScript
Copy
mods.immersiveintelligence.Sawmill.removeRecipe(<minecraft:diamond>);