buildcraft/api/buildcraft/api/recipes/IAssemblyRecipeManager.java

38 lines
1 KiB
Java
Raw Normal View History

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
*
* 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;
import java.util.Collection;
2013-12-02 06:57:31 +01:00
import net.minecraft.item.ItemStack;
public interface IAssemblyRecipeManager {
/**
* Add an Assembly Table recipe.
*
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
void addRecipe(IFlexibleRecipe<ItemStack> recipe);
2014-10-18 09:27:35 +02:00
void removeRecipe(String id);
void removeRecipe(IFlexibleRecipe<ItemStack> recipe);
Collection<IFlexibleRecipe<ItemStack>> getRecipes();
2013-12-02 06:57:31 +01:00
}