BloodMagic/src/main/java/WayofTime/bloodmagic/compat/jei/alchemyTable/AlchemyTableRecipeMaker.java

22 lines
734 B
Java
Raw Normal View History

2016-05-02 13:45:52 -04:00
package WayofTime.bloodmagic.compat.jei.alchemyTable;
import WayofTime.bloodmagic.apibutnotreally.recipe.AlchemyTableRecipe;
import WayofTime.bloodmagic.apibutnotreally.registry.AlchemyTableRecipeRegistry;
2016-05-02 13:45:52 -04:00
2017-08-15 21:30:48 -07:00
import javax.annotation.Nonnull;
import java.util.ArrayList;
import java.util.List;
public class AlchemyTableRecipeMaker {
2016-05-02 13:45:52 -04:00
@Nonnull
2017-08-15 21:30:48 -07:00
public static List<AlchemyTableRecipeJEI> getRecipes() {
2016-05-02 13:45:52 -04:00
List<AlchemyTableRecipe> recipeList = AlchemyTableRecipeRegistry.getRecipeList();
ArrayList<AlchemyTableRecipeJEI> recipes = new ArrayList<AlchemyTableRecipeJEI>();
for (AlchemyTableRecipe recipe : recipeList)
recipes.add(new AlchemyTableRecipeJEI(recipe));
return recipes;
}
}