Class PaginatedMenu

java.lang.Object
me.fami6xx.rpuniverse.core.menuapi.types.Menu
me.fami6xx.rpuniverse.core.menuapi.types.PaginatedMenu
All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder
Direct Known Subclasses:
EasyPaginatedMenu

public abstract class PaginatedMenu extends Menu
  • Field Details

    • page

      protected int page
    • maxItemsPerPage

      protected int maxItemsPerPage
    • index

      protected int index
    • BORDER_GLASS

      public static final org.bukkit.inventory.ItemStack BORDER_GLASS
  • Constructor Details

    • PaginatedMenu

      public PaginatedMenu(PlayerMenu menu)
  • Method Details

    • addMenuBorder

      public void addMenuBorder()
      Adds the menu border to the inventory.
    • getMaxItemsPerPage

      public int getMaxItemsPerPage()
      Returns the maximum number of items per page.
      Returns:
      the maximum number of items per page.
    • getSlots

      public int getSlots()
      Returns the number of slots in the inventory.
      Specified by:
      getSlots in class Menu
      Returns:
      the number of slots in the inventory.