TechReborn/ToAddBack/compat/nei/recipes/INeiBaseRecipe.java

37 lines
897 B
Java
Raw Normal View History

package techreborn.compat.nei.recipes;
import codechicken.nei.PositionedStack;
import net.minecraft.client.gui.inventory.GuiContainer;
2015-05-08 21:29:13 +02:00
import techreborn.api.recipe.IBaseRecipeType;
import java.util.List;
/**
* Use this to make your neiHandler
*/
public interface INeiBaseRecipe {
/**
* Add the inputs and the outputs
*
* @param input add the input stacks to this
* @param outputs add this output stacks to this
*/
public void addPositionedStacks(List<PositionedStack> input, List<PositionedStack> outputs, IBaseRecipeType recipeType);
/**
* @return the recipe name that is used for the recipe
*/
public String getRecipeName();
/**
* @return the guiTexture location
*/
public String getGuiTexture();
/**
* @return the gui class for the recipe
*/
public Class<? extends GuiContainer> getGuiClass();
}