39 lines
1.1 KiB
Java
39 lines
1.1 KiB
Java
/**
|
|
* Team CoFH
|
|
*
|
|
* Thermal Expansion
|
|
*/
|
|
|
|
package thermalexpansion.api.crafting;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraftforge.fluids.FluidStack;
|
|
|
|
/**
|
|
* 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, FluidStack output, boolean overwrite);
|
|
|
|
public boolean addRecipe(int energy, ItemStack input, FluidStack output);
|
|
|
|
/**
|
|
* Access to the full list of recipes.
|
|
*/
|
|
ICrucibleRecipe[] getRecipeList();
|
|
}
|