Remove gitmodules
Integrate api and lang into core
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package appeng.api.recipes;
|
||||
|
||||
import appeng.api.exceptions.MissingIngredientError;
|
||||
import appeng.api.exceptions.RecipeError;
|
||||
import appeng.api.exceptions.RegistrationError;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface ICraftHandler
|
||||
{
|
||||
|
||||
/**
|
||||
* Called when your recipe handler receives a newly parsed list of inputs/outputs.
|
||||
*
|
||||
* @param input parsed inputs
|
||||
* @param output parsed outputs
|
||||
* @throws RecipeError
|
||||
*/
|
||||
public void setup(List<List<IIngredient>> input, List<List<IIngredient>> output) throws RecipeError;
|
||||
|
||||
/**
|
||||
* called when all recipes are parsed, and your required to register your recipe.
|
||||
*
|
||||
* @throws RegistrationError
|
||||
* @throws MissingIngredientError
|
||||
*/
|
||||
public void register() throws RegistrationError, MissingIngredientError;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user