Class RecipeManager
java.lang.Object
com.github.darksoulq.ner.registry.RecipeManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCatalyst(Class<?> recipeClass, org.bukkit.inventory.ItemStack catalyst) static voidaddCategory(RecipeCategory<?> category) static <T> voidaddCraftabilityChecker(Class<T> recipeClass, CraftabilityChecker<T> checker) static voidstatic voidclear()static voidcompile()static List<ParsedRecipeView> static Map<Class<?>, RecipeCategory<?>> static RecipeCategory<?> getCategory(ParsedRecipeView view) static ObjectgetRawRecipe(ParsedRecipeView view) static List<ParsedRecipeView> getRecipes(org.bukkit.inventory.ItemStack item) static List<ParsedRecipeView> getUses(org.bukkit.inventory.ItemStack item) static booleanisCraftable(org.bukkit.entity.Player player, ParsedRecipeView view) static booleanisCraftable(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack item) static voidremoveRecipe(Object recipe) static voidremoveRecipes(Predicate<Object> predicate)
-
Constructor Details
-
RecipeManager
public RecipeManager()
-
-
Method Details
-
clear
public static void clear() -
addCategory
-
getCategories
-
addCatalyst
-
addRecipe
-
removeRecipe
-
removeRecipes
-
addCraftabilityChecker
-
getRecipes
-
getUses
-
getAllRecipes
-
getRawRecipe
-
getCategory
-
isCraftable
-
isCraftable
public static boolean isCraftable(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack item) -
compile
public static void compile()
-