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;
TypeNombreRequired
Type
IIngredient
Nombre
Input
Required
Yes
Type
IIngredient
Nombre
Output
Required
Yes
Type
IItemStack
Nombre
Secondary Output
Required
Yes
Type
int
Nombre
Torque
Required
Yes
Type
int
Nombre
Time
Required
Yes
Type
int
Nombre
Saw Hardness
Required
Yes
Type
int
Nombre
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

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