2016-11-10 10:39:19 -05:00
|
|
|
package WayofTime.bloodmagic.compat.jei.armourDowngrade;
|
|
|
|
|
2018-02-15 18:49:01 -08:00
|
|
|
import WayofTime.bloodmagic.recipe.LivingArmourDowngradeRecipe;
|
|
|
|
import WayofTime.bloodmagic.core.registry.LivingArmourDowngradeRecipeRegistry;
|
2016-11-10 10:39:19 -05:00
|
|
|
|
2017-08-15 21:30:48 -07:00
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public class ArmourDowngradeRecipeMaker {
|
2016-11-10 10:39:19 -05:00
|
|
|
@Nonnull
|
2017-08-15 21:30:48 -07:00
|
|
|
public static List<ArmourDowngradeRecipeJEI> getRecipes() {
|
2016-11-10 10:39:19 -05:00
|
|
|
List<LivingArmourDowngradeRecipe> recipeList = LivingArmourDowngradeRecipeRegistry.getRecipeList();
|
2018-03-01 19:27:38 -08:00
|
|
|
ArrayList<ArmourDowngradeRecipeJEI> recipes = new ArrayList<>();
|
2016-11-10 10:39:19 -05:00
|
|
|
|
|
|
|
for (LivingArmourDowngradeRecipe recipe : recipeList)
|
|
|
|
recipes.add(new ArmourDowngradeRecipeJEI(recipe));
|
|
|
|
|
|
|
|
return recipes;
|
|
|
|
}
|
|
|
|
}
|