blob: db50504aab9bfd8ffa183fdb3e1684b54406d159 [file] [log] [blame] [raw]
/**
* Team CoFH
*
* Thermal Expansion
*/
package thermalexpansion.api.crafting;
import net.minecraft.item.ItemStack;
import net.minecraftforge.liquids.LiquidStack;
/**
* Provides an interface to the recipe manager of the Crucible. Accessible via
* {@link CraftingManagers.crucibleManager}
*/
public interface ICrucibleManager {
/**
* Add a recipe to the Crucible.
*
* @param energy
* Energy needed to process the item.
* @param input
* ItemStack representing the input item.
* @param output
* LiquidStack representing the output liquid.
* @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, LiquidStack output, boolean overwrite);
public boolean addRecipe(int energy, ItemStack input, LiquidStack output);
/**
* Access to the full list of recipes.
*/
ICrucibleRecipe[] getRecipeList();
}