java.lang.Object
net.playavalon.mythicdungeons.menu.menuitems.MenuItem
Direct Known Subclasses:
ChatMenuItem, ToggleMenuItem

public abstract class MenuItem extends Object
  • Constructor Details

    • MenuItem

      public MenuItem()
  • Method Details

    • buildButton

      public abstract void buildButton()
    • onSelect

      public abstract void onSelect(org.bukkit.event.player.PlayerEvent event)
    • onChat

      public void onChat(org.bukkit.event.player.AsyncPlayerChatEvent event)
    • onHover

      public void onHover(org.bukkit.event.player.PlayerItemHeldEvent event)
    • runSelectActions

      public void runSelectActions(org.bukkit.event.player.PlayerEvent event)
    • runChatActions

      public void runChatActions(org.bukkit.event.player.AsyncPlayerChatEvent event)
    • runHoverActions

      public void runHoverActions(org.bukkit.event.player.PlayerItemHeldEvent event)
    • addSelectAction

      public void addSelectAction(MenuAction<org.bukkit.event.player.PlayerEvent> action)
    • addChatAction

      public void addChatAction(MenuAction<org.bukkit.event.player.AsyncPlayerChatEvent> action)
    • addHoverAction

      public void addHoverAction(MenuAction<org.bukkit.event.player.PlayerItemHeldEvent> action)