2014-02-15 09:21:40 +01:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
2013-12-02 06:57:31 +01:00
|
|
|
* http://www.mod-buildcraft.com
|
2014-02-15 09:21:40 +01:00
|
|
|
*
|
2014-12-09 21:09:14 +01:00
|
|
|
* The BuildCraft API is distributed under the terms of the MIT License.
|
|
|
|
* Please check the contents of the license, which should be located
|
|
|
|
* as "LICENSE.API" in the BuildCraft source code distribution.
|
2013-12-02 06:57:31 +01:00
|
|
|
*/
|
|
|
|
package buildcraft.api.recipes;
|
|
|
|
|
2014-06-06 09:00:11 +02:00
|
|
|
import java.util.Collection;
|
2014-05-03 18:59:52 +02:00
|
|
|
|
2013-12-02 06:57:31 +01:00
|
|
|
import net.minecraftforge.fluids.FluidStack;
|
|
|
|
|
|
|
|
public interface IRefineryRecipeManager {
|
|
|
|
|
2014-06-06 09:00:11 +02:00
|
|
|
void addRecipe(String id, FluidStack ingredient, FluidStack result, int energy, int delay);
|
2013-12-02 06:57:31 +01:00
|
|
|
|
2014-06-06 09:00:11 +02:00
|
|
|
void addRecipe(String id, FluidStack ingredient1, FluidStack ingredient2, FluidStack result, int energy, int delay);
|
2013-12-02 06:57:31 +01:00
|
|
|
|
2014-10-18 09:27:35 +02:00
|
|
|
void removeRecipe(String id);
|
|
|
|
|
|
|
|
void removeRecipe(IFlexibleRecipe<FluidStack> recipe);
|
|
|
|
|
2014-06-06 09:00:11 +02:00
|
|
|
Collection<IFlexibleRecipe<FluidStack>> getRecipes();
|
2013-12-02 06:57:31 +01:00
|
|
|
|
2014-06-06 09:00:11 +02:00
|
|
|
IFlexibleRecipe<FluidStack> getRecipe(String currentRecipeId);
|
2013-12-02 06:57:31 +01:00
|
|
|
|
|
|
|
}
|