Test with stuff + Forestry potential support
This commit is contained in:
parent
5b05cf651b
commit
bd26e441cb
174 changed files with 5602 additions and 0 deletions
28
BM_src/forestry/api/recipes/IMoistenerManager.java
Normal file
28
BM_src/forestry/api/recipes/IMoistenerManager.java
Normal file
|
@ -0,0 +1,28 @@
|
|||
package forestry.api.recipes;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
/**
|
||||
* Provides an interface to the recipe manager of the moistener.
|
||||
*
|
||||
* 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 {@link RecipeManagers}
|
||||
*
|
||||
* @author SirSengir
|
||||
*/
|
||||
public interface IMoistenerManager extends ICraftingProvider {
|
||||
|
||||
/**
|
||||
* Add a recipe to the moistener
|
||||
*
|
||||
* @param resource
|
||||
* Item required in resource stack. Will be reduced by one per produced item.
|
||||
* @param product
|
||||
* Item to produce per resource processed.
|
||||
* @param timePerItem
|
||||
* Moistener runs at 1 - 4 time ticks per ingame tick depending on light level. For mycelium this value is currently 5000.
|
||||
*/
|
||||
public void addRecipe(ItemStack resource, ItemStack product, int timePerItem);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue