This page relates to Thermal Expansion, which has built-in support!
Sawmill
Link to sawmill
Methoden
Link to methoden
Rezept hinzufügen
Link to rezept-hinzufügen
The following script will add a recipe that will output Oak Planks 200% of the time by Sawing an Oak Door, consuming 500 RF.
ZenScript Copy// <recipetype:thermal:sawmill>.addRecipe(String name, MCWeightedItemStack[] outputs, IIngredient ingredient, int energy);
<recipetype:thermal:sawmill>.addRecipe("sawmill_test", [<item:minecraft:oak_planks> % 200], <item:minecraft:oak_door>, 500);
Remove Recipes
Link to remove-recipes
The following script will remove all Sawmill recipes that output Acacia Planks and Sawdust.
ZenScript Copy// <recipetype:thermal:sawmill>.removeRecipe(IItemStack... output);
<recipetype:thermal:sawmill>.removeRecipe([<item:minecraft:acacia_planks>, <item:thermal:sawdust>]);