Interface RecipeManager
- All Known Implementing Classes:
RecipeManagerImpl
public interface RecipeManager
This class is used to manage custom recipes.
-
Method Details
-
getRecipeNamespaceKeys
@NonNull List<org.bukkit.NamespacedKey> getRecipeNamespaceKeys()Gets a list of all registered custom recipes.- Returns:
- a list of all registered custom recipes
-
getRecipe
@Nullable org.bukkit.inventory.Recipe getRecipe(@NonNull org.bukkit.NamespacedKey namespaceKey)Gets a custom recipe from aNamespacedKey.- Parameters:
namespaceKey- the namespace key of the custom recipe- Returns:
- the custom recipe with the given key. Will be null if the recipe does not exist.
-