Added JEI compat for the Alchemy Table

This commit is contained in:
WayofTime 2016-05-02 13:45:52 -04:00
parent f9fc33d1ee
commit ce385bd9a6
9 changed files with 234 additions and 5 deletions

View file

@ -0,0 +1,24 @@
package WayofTime.bloodmagic.compat.jei.alchemyTable;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nonnull;
import WayofTime.bloodmagic.api.recipe.AlchemyTableRecipe;
import WayofTime.bloodmagic.api.registry.AlchemyTableRecipeRegistry;
public class AlchemyTableRecipeMaker
{
@Nonnull
public static List<AlchemyTableRecipeJEI> getRecipes()
{
List<AlchemyTableRecipe> recipeList = AlchemyTableRecipeRegistry.getRecipeList();
ArrayList<AlchemyTableRecipeJEI> recipes = new ArrayList<AlchemyTableRecipeJEI>();
for (AlchemyTableRecipe recipe : recipeList)
recipes.add(new AlchemyTableRecipeJEI(recipe));
return recipes;
}
}