Class RecipeManager

java.lang.Object
org.strassburger.lifestealz.util.RecipeManager

public class RecipeManager extends Object
  • Constructor Details

    • RecipeManager

      public RecipeManager(LifeStealZ plugin)
  • Method Details

    • getRecipeIds

      public Set<String> getRecipeIds()
      Returns all recipe ids
      Returns:
      All recipe ids
    • registerRecipes

      public void registerRecipes()
      Registers all recipes
    • isCraftable

      public boolean isCraftable(String itemId)
      Checks if an item is craftable
      Parameters:
      itemId - The item id
      Returns:
      If the item is craftable
    • renderRecipe

      public void renderRecipe(org.bukkit.entity.Player player, String itemId)
      Renders a recipe in an inventory gui
      Parameters:
      player - The player to render the recipe for
      itemId - The item id to render