2015-05-08 20:42:52 +02:00
|
|
|
package techreborn.compat.nei.recipes;
|
|
|
|
|
2015-05-23 14:54:12 +02:00
|
|
|
import codechicken.nei.PositionedStack;
|
2015-05-08 20:42:52 +02:00
|
|
|
import net.minecraft.client.gui.inventory.GuiContainer;
|
2015-05-08 21:29:13 +02:00
|
|
|
import techreborn.api.recipe.IBaseRecipeType;
|
2015-05-23 14:54:12 +02:00
|
|
|
|
|
|
|
import java.util.List;
|
2015-05-08 20:42:52 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Use this to make your neiHandler
|
|
|
|
*/
|
|
|
|
public interface INeiBaseRecipe {
|
|
|
|
|
2015-08-09 12:05:32 +02:00
|
|
|
/**
|
|
|
|
* 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);
|
2015-05-08 20:42:52 +02:00
|
|
|
|
2015-08-09 12:05:32 +02:00
|
|
|
/**
|
|
|
|
* @return the recipe name that is used for the recipe
|
|
|
|
*/
|
|
|
|
public String getRecipeName();
|
2015-05-08 20:42:52 +02:00
|
|
|
|
2015-08-09 12:05:32 +02:00
|
|
|
/**
|
|
|
|
* @return the guiTexture location
|
|
|
|
*/
|
|
|
|
public String getGuiTexture();
|
2015-05-08 20:42:52 +02:00
|
|
|
|
2015-08-09 12:05:32 +02:00
|
|
|
/**
|
|
|
|
* @return the gui class for the recipe
|
|
|
|
*/
|
|
|
|
public Class<? extends GuiContainer> getGuiClass();
|
2015-05-08 20:42:52 +02:00
|
|
|
}
|