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