Made it so you can view the recipes for downgrades in JEI.

This commit is contained in:
WayofTime 2016-11-10 10:39:19 -05:00
parent 1f6c4b47e2
commit 33b799723c
11 changed files with 258 additions and 5 deletions

View file

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