Made it so you can view the recipes for downgrades in JEI.
This commit is contained in:
parent
1f6c4b47e2
commit
33b799723c
11 changed files with 258 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue