Package dev.plex.menu

Class PunishmentMenu

All Implemented Interfaces:
org.bukkit.event.Listener

public class PunishmentMenu extends AbstractMenu
  • Field Details

    • inventories

      private final List<org.bukkit.inventory.Inventory> inventories
  • Constructor Details

    • PunishmentMenu

      public PunishmentMenu()
  • Method Details

    • getInventory

      public List<org.bukkit.inventory.Inventory> getInventory()
    • openInv

      public void openInv(org.bukkit.entity.Player player, int index)
    • onClick

      public void onClick(org.bukkit.event.inventory.InventoryClickEvent event)
    • getCurrentInventoryIndex

      public int getCurrentInventoryIndex(org.bukkit.inventory.Inventory inventory)
    • isValidInventory

      private boolean isValidInventory(org.bukkit.inventory.Inventory inventory)