public interface ICentrifugeManager extends ICraftingProvider<ICentrifugeRecipe>
The manager is initialized at the beginning of Forestry's BaseMod.load() cycle. Begin adding recipes in BaseMod.ModsLoaded() and this shouldn't be null even if your mod loads before Forestry.
Accessible via RecipeManagers
| Modifier and Type | Method and Description |
|---|---|
void |
addRecipe(int timePerItem,
net.minecraft.item.ItemStack input,
java.util.Map<net.minecraft.item.ItemStack,java.lang.Float> products)
Add a recipe to the centrifuge
|
addRecipe, recipes, removeRecipevoid addRecipe(int timePerItem,
net.minecraft.item.ItemStack input,
java.util.Map<net.minecraft.item.ItemStack,java.lang.Float> products)
timePerItem - Time to centrifugate one item of the given type. Default is 20.input - ItemStack containing information on item id and damage. Stack size will be ignored.products - Specifies the possible products and the chances of them resulting from centrifuging.
Chances are from (0.0 to 1.0]