This page relates to Immersive Intelligence, which has built-in support!
Sawmill
Link to sawmill
The Sawmill
package can be used to modify the Immersive Intelligence Sawmill recipes.
Importing the Package
Link to importing-the-package
ZenScript Copyimport mods.immersiveintelligence.Sawmill;
Adding Recipes
Link to adding-recipes
Parameters
Link to parameters
Type | Name | Required |
---|---|---|
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.
Material | Hardness |
---|---|
Material Iron | Hardness 2 |
Material Steel | Hardness 3 |
Material Tungsten | Hardness 4 |
Syntax
Link to syntax
ZenScript Copymods.immersiveintelligence.Sawmill.addRecipe(IIngredient itemInput, IItemStack itemOutput, IItemStack secondaryItemOutput, int torque, int time, int hardness, int dustColor);
Example
Link to example
ZenScript Copymods.immersiveintelligence.Sawmill.addRecipe(<ore:oreGold>,<minecraft:diamond>,<minecraft:diamond>,10,20,1,0);
Removing Recipes
Link to removing-recipes
Parameters
Link to parameters-1
Type | Name | Required |
---|---|---|
Type IItemStack | Name Output | Required Yes |
Syntax
Link to syntax-1
ZenScript Copymods.immersiveintelligence.Sawmill.removeRecipe(IItemStack output);
Example
Link to example-1
ZenScript Copymods.immersiveintelligence.Sawmill.removeRecipe(<minecraft:diamond>);