Interface ICraftingRecipe

All Known Implementing Classes:
AdvancedCraftingRecipe, CraftingRecipe, EliteCraftingRecipe, ShapedCraftRecipe, ShapedEliteCraftRecipe, ShapelessCraftRecipe, ShapelessEliteCraftRecipe

public interface ICraftingRecipe
  • Method Details

    • isShapeless

      boolean isShapeless()
    • check

      CraftingData check(List<List<org.bukkit.inventory.ItemStack>> ingredients)
    • removeMatrix

      default void removeMatrix(List<List<org.bukkit.inventory.ItemStack>> matrix, org.bukkit.inventory.Inventory inventory, int totalAmount, CraftingData craftingData)
    • getAmountCraftable

      default int getAmountCraftable(List<List<org.bukkit.inventory.ItemStack>> matrix, CraftingData craftingData)
    • getIngredients

      @Nullable default @Nullable Ingredient getIngredients(char key)
    • setIngredient

      void setIngredient(char key, Ingredient ingredients)
    • getIngredients

      Map<Character,​Ingredient> getIngredients()
    • setIngredients

      void setIngredients(Map<Character,​Ingredient> ingredients)