Package dev.plex.menu

Class PunishedPlayerMenu

java.lang.Object
dev.plex.util.menu.AbstractMenu
dev.plex.menu.PunishedPlayerMenu
All Implemented Interfaces:
org.bukkit.event.Listener

public class PunishedPlayerMenu extends AbstractMenu
  • Field Details

    • punishedPlayer

      private final PlexPlayer punishedPlayer
    • inventories

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

    • PunishedPlayerMenu

      public PunishedPlayerMenu(PlexPlayer player)
  • 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)