Class RecipeManager

java.lang.Object
com.github.darksoulq.ner.registry.RecipeManager

public class RecipeManager extends Object
  • Constructor Details

    • RecipeManager

      public RecipeManager()
  • Method Details

    • clear

      public static void clear()
    • addCategory

      public static void addCategory(RecipeCategory<?> category)
    • getCategories

      public static Map<Class<?>, RecipeCategory<?>> getCategories()
    • addCatalyst

      public static void addCatalyst(Class<?> recipeClass, org.bukkit.inventory.ItemStack catalyst)
    • addRecipe

      public static void addRecipe(Object recipe)
    • removeRecipe

      public static void removeRecipe(Object recipe)
    • removeRecipes

      public static void removeRecipes(Predicate<Object> predicate)
    • addCraftabilityChecker

      public static <T> void addCraftabilityChecker(Class<T> recipeClass, CraftabilityChecker<T> checker)
    • getRecipes

      public static List<ParsedRecipeView> getRecipes(org.bukkit.inventory.ItemStack item)
    • getUses

      public static List<ParsedRecipeView> getUses(org.bukkit.inventory.ItemStack item)
    • getAllRecipes

      public static List<ParsedRecipeView> getAllRecipes()
    • getRawRecipe

      public static Object getRawRecipe(ParsedRecipeView view)
    • getCategory

      public static RecipeCategory<?> getCategory(ParsedRecipeView view)
    • isCraftable

      public static boolean isCraftable(org.bukkit.entity.Player player, ParsedRecipeView view)
    • isCraftable

      public static boolean isCraftable(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack item)
    • compile

      public static void compile()