Interface StonecutterView

All Superinterfaces:
InventoryView

public interface StonecutterView extends InventoryView
An instance of InventoryView which provides extra methods related to stonecutter view data.
  • Method Details

    • getSelectedRecipeIndex

      int getSelectedRecipeIndex()
      Gets the current index of the selected recipe.
      Returns:
      The index of the selected recipe in the stonecutter or -1 if null
    • getRecipes

      @NotNull List<StonecuttingRecipe> getRecipes()
      Gets a copy of all recipes currently available to the player.
      Returns:
      A copy of the StonecuttingRecipe's currently available for the player
    • getRecipeAmount

      int getRecipeAmount()
      Gets the amount of recipes currently available.
      Returns:
      The amount of recipes currently available for the player