Mekanism-tilera-Edition/common/thermalexpansion/api/crafting/IFurnaceManager.java

39 lines
1.1 KiB
Java
Raw Normal View History

2013-04-13 16:35:13 +02:00
/**
* Team CoFH
*
* Thermal Expansion
*/
package thermalexpansion.api.crafting;
import net.minecraft.item.ItemStack;
/**
* Provides an interface to the recipe manager of the Powered Furnace. Accessible via
* {@link CraftingManagers.FurnaceManager}
*/
public interface IFurnaceManager {
/**
* Add a recipe to the Powered Furnace.
*
* @param energy
* Energy needed to process the item.
* @param input
* ItemStack representing the input item.
* @param output
* ItemStack representing the output item.
* @param overwrite
* Flag to enable recipe overwriting. This will only be allowed if enabled in the
* Thermal Expansion Configuration file and will be logged for information purposes.
*/
public boolean addRecipe(int energy, ItemStack input, ItemStack output, boolean overwrite);
public boolean addRecipe(int energy, ItemStack input, ItemStack output);
/**
* Access to the full list of recipes.
*/
IFurnaceRecipe[] getRecipeList();
}