
The new one is now built for the api jar and the old one is now internal. It will slowly be moved around to sane places within the internal code. Most of the features provided in the old "api" are addon specific features which will generally rely on the main jar anyways. The new API will be specific to compatibility features, such as blacklists, recipes, and value modification.
21 lines
797 B
Java
21 lines
797 B
Java
package WayofTime.bloodmagic.compat.jei.armourDowngrade;
|
|
|
|
import WayofTime.bloodmagic.apibutnotreally.recipe.LivingArmourDowngradeRecipe;
|
|
import WayofTime.bloodmagic.apibutnotreally.registry.LivingArmourDowngradeRecipeRegistry;
|
|
|
|
import javax.annotation.Nonnull;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
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;
|
|
}
|
|
}
|