public static class DummyManagers.DummyCentrifugeManager extends DummyManagers.DummyCraftingProvider<ICentrifugeRecipe> implements ICentrifugeManager
| Constructor and Description |
|---|
DummyCentrifugeManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRecipe(int timePerItem,
net.minecraft.item.ItemStack resource,
java.util.Map<net.minecraft.item.ItemStack,java.lang.Float> products)
Add a recipe to the centrifuge
|
addRecipe, recipes, removeRecipeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRecipe, recipes, removeRecipepublic void addRecipe(int timePerItem,
net.minecraft.item.ItemStack resource,
java.util.Map<net.minecraft.item.ItemStack,java.lang.Float> products)
ICentrifugeManageraddRecipe in interface ICentrifugeManagertimePerItem - Time to centrifugate one item of the given type. Default is 20.resource - 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]