Interface Menu

All Superinterfaces:
org.bukkit.inventory.InventoryHolder
All Known Implementing Classes:
BorderMenu, ExtensionGUI, ExtensionsLoadedsGUI, ExtensionsUnLoadedsGUI, PagedCustomMenu, PagedMenu, PreferencesAllGUI, PreferencesCategoriesGUI, PreferencesGUI, SimpleMenu

public interface Menu extends org.bukkit.inventory.InventoryHolder
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<Menu>
     
    static final org.bukkit.plugin.java.JavaPlugin
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addItem(org.bukkit.inventory.ItemStack itemStack)
     
    void
    addItem(org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.event.inventory.InventoryClickEvent> action)
     
    void
    click(org.bukkit.event.inventory.InventoryClickEvent event, int slot)
     
    Map<Integer,Consumer<org.bukkit.event.inventory.InventoryClickEvent>>
     
    Map<Integer,org.bukkit.inventory.ItemStack>
     
    void
     
    void
     
    default void
    open(org.bukkit.entity.Player player)
     
    void
    setItem(int slot, org.bukkit.inventory.ItemStack itemStack)
     
    void
    setItem(int slot, org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.event.inventory.InventoryClickEvent> action)
     
    void
     
    void
    unCheckedClick(org.bukkit.event.inventory.InventoryClickEvent event)
     
    void
     
    boolean
     

    Methods inherited from interface org.bukkit.inventory.InventoryHolder

    getInventory
  • Field Details

    • plugin

      static final org.bukkit.plugin.java.JavaPlugin plugin
  • Method Details

    • click

      void click(org.bukkit.event.inventory.InventoryClickEvent event, int slot)
    • unCheckedClick

      void unCheckedClick(org.bukkit.event.inventory.InventoryClickEvent event)
    • setItem

      void setItem(int slot, org.bukkit.inventory.ItemStack itemStack)
    • addItem

      void addItem(org.bukkit.inventory.ItemStack itemStack)
    • addItem

      void addItem(org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.event.inventory.InventoryClickEvent> action)
    • setItem

      void setItem(int slot, org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.event.inventory.InventoryClickEvent> action)
    • onSetItems

      void onSetItems()
    • onClose

      void onClose()
    • usePlaceholders

      boolean usePlaceholders()
    • setPlaceholders

      void setPlaceholders()
    • update

      void update()
    • getItemsMap

      Map<Integer,org.bukkit.inventory.ItemStack> getItemsMap()
    • getActionsMap

      Map<Integer,Consumer<org.bukkit.event.inventory.InventoryClickEvent>> getActionsMap()
    • open

      default void open(org.bukkit.entity.Player player)