2013-04-13 16:35:13 +02:00
|
|
|
/**
|
|
|
|
* Team CoFH
|
|
|
|
*
|
|
|
|
* Thermal Expansion
|
|
|
|
*/
|
|
|
|
|
|
|
|
package thermalexpansion.api.crafting;
|
|
|
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
2013-07-20 18:10:14 +02:00
|
|
|
import net.minecraftforge.fluids.FluidStack;
|
2013-04-13 16:35:13 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2013-07-20 18:10:14 +02:00
|
|
|
public boolean addRecipe(int energy, ItemStack input, FluidStack output, boolean overwrite);
|
2013-04-13 16:35:13 +02:00
|
|
|
|
2013-07-20 18:10:14 +02:00
|
|
|
public boolean addRecipe(int energy, ItemStack input, FluidStack output);
|
2013-04-13 16:35:13 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Access to the full list of recipes.
|
|
|
|
*/
|
|
|
|
ICrucibleRecipe[] getRecipeList();
|
|
|
|
}
|