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
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<org.bukkit.inventory.Inventory>
private final PlexPlayer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCurrentInventoryIndex
(org.bukkit.inventory.Inventory inventory) List<org.bukkit.inventory.Inventory>
private boolean
isValidInventory
(org.bukkit.inventory.Inventory inventory) void
onClick
(org.bukkit.event.inventory.InventoryClickEvent event) void
openInv
(org.bukkit.entity.Player player, int index) Methods inherited from class dev.plex.util.menu.AbstractMenu
getName
-
Field Details
-
punishedPlayer
-
inventories
-
-
Constructor Details
-
PunishedPlayerMenu
-
-
Method Details
-
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)
-