BloodMagic/src/main/java/WayofTime/bloodmagic/compat/jei/armourDowngrade/ArmourDowngradeRecipeMaker.java

22 lines
746 B
Java
Raw Normal View History

package WayofTime.bloodmagic.compat.jei.armourDowngrade;
import WayofTime.bloodmagic.recipe.LivingArmourDowngradeRecipe;
import WayofTime.bloodmagic.core.registry.LivingArmourDowngradeRecipeRegistry;
2017-08-16 04:30:48 +00:00
import javax.annotation.Nonnull;
import java.util.ArrayList;
import java.util.List;
public class ArmourDowngradeRecipeMaker {
@Nonnull
2017-08-16 04:30:48 +00:00
public static List<ArmourDowngradeRecipeJEI> getRecipes() {
List<LivingArmourDowngradeRecipe> recipeList = LivingArmourDowngradeRecipeRegistry.getRecipeList();
ArrayList<ArmourDowngradeRecipeJEI> recipes = new ArrayList<>();
for (LivingArmourDowngradeRecipe recipe : recipeList)
recipes.add(new ArmourDowngradeRecipeJEI(recipe));
return recipes;
}
}