Get the files on 9Minecraft
The SAG Mill (Suspended Air Grinder) processes items into multiple outputs with varying probabilities. It is heavily influenced by Grinding Balls.
Package: mods.enderio.SagMill
Adding Recipes
There are two ways to define SAG Mill outputs: using separate arrays for items and chances, or using WeightedItemStack.
mods.enderio.SagMill.addRecipe(IItemStack[] output, float[] chances, IIngredient input, @Optional String bonusType, @Optional int energyCost, @Optional float[] xp);
Bonus Types:
* "NONE": No bonus from Grinding Balls.
* "MULTIPLY_OUTPUT": Grinding balls can increase the output chance beyond 100%.
* "CHANCE_ONLY": Grinding balls increase chance but cap it at 100%.
Removing Recipes
- By Input:
mods.enderio.SagMill.removeRecipe(IItemStack input);removes the recipe associated with the provided input item.












