Package dev.plex.menu

Class ToggleMenu

All Implemented Interfaces:
PlexBase, org.bukkit.event.Listener

public class ToggleMenu extends AbstractMenu implements PlexBase
  • Field Details

    • inventories

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

    • ToggleMenu

      public ToggleMenu()
  • Method Details

    • 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)
    • resetExplosionItem

      private void resetExplosionItem(org.bukkit.inventory.Inventory inventory)
    • resetFluidspreadItem

      private void resetFluidspreadItem(org.bukkit.inventory.Inventory inventory)
    • resetDropsItem

      private void resetDropsItem(org.bukkit.inventory.Inventory inventory)