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-02 16:29:13 +02:00
|
|
|
import java.util.Collection;
|
2014-05-03 18:59:52 +02:00
|
|
|
|
2013-12-02 06:57:31 +01:00
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
|
|
|
public interface IAssemblyRecipeManager {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Add an Assembly Table recipe.
|
2014-05-27 00:25:39 +02:00
|
|
|
*
|
2014-05-05 14:54:39 +02:00
|
|
|
* @param input
|
|
|
|
* Object... containing either an ItemStack, or a paired string
|
|
|
|
* and integer(ex: "dyeBlue", 1)
|
|
|
|
* @param energyCost
|
2014-09-03 19:22:15 +02:00
|
|
|
* RF cost to produce
|
2014-05-05 14:54:39 +02:00
|
|
|
* @param output
|
|
|
|
* resulting ItemStack
|
2013-12-02 06:57:31 +01:00
|
|
|
*/
|
2014-09-03 19:22:15 +02:00
|
|
|
void addRecipe(String id, int energyCost, ItemStack output, Object... input);
|
2013-12-02 06:57:31 +01:00
|
|
|
|
2014-06-06 09:00:11 +02:00
|
|
|
void addRecipe(IFlexibleRecipe<ItemStack> recipe);
|
2014-10-18 09:27:35 +02:00
|
|
|
|
|
|
|
void removeRecipe(String id);
|
|
|
|
|
|
|
|
void removeRecipe(IFlexibleRecipe<ItemStack> recipe);
|
2014-05-27 00:25:39 +02:00
|
|
|
|
2014-06-06 09:00:11 +02:00
|
|
|
Collection<IFlexibleRecipe<ItemStack>> getRecipes();
|
2013-12-02 06:57:31 +01:00
|
|
|
}
|