Interface ISpigotMenu

All Known Implementing Classes:
SpigotMenu

public interface ISpigotMenu
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addClickListener(Consumer<org.bukkit.event.inventory.InventoryClickEvent> listener)
     
    void
    addCloseListener(Consumer<org.bukkit.entity.HumanEntity> listener)
     
    void
    addOpenListener(Consumer<org.bukkit.entity.HumanEntity> listener)
     
    org.bukkit.inventory.ItemStack[]
     
    void
    open(org.bukkit.entity.HumanEntity entity)
     
    void
    removeItem(int index)
     
    void
    setItem(int index, org.bukkit.inventory.ItemStack itemStack)
     
    void
    setItem(int index, org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.event.inventory.InventoryClickEvent> onClick)
     
    void
    setItem(int index, org.bukkit.inventory.ItemStack itemStack, Function<org.bukkit.event.inventory.InventoryClickEvent,Boolean> onClick)
     
    int
     
  • Method Details

    • removeItem

      void removeItem(int index)
    • setItem

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

      void setItem(int index, org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.event.inventory.InventoryClickEvent> onClick)
    • setItem

      void setItem(int index, org.bukkit.inventory.ItemStack itemStack, Function<org.bukkit.event.inventory.InventoryClickEvent,Boolean> onClick)
    • items

      org.bukkit.inventory.ItemStack[] items()
    • size

      int size()
    • open

      void open(org.bukkit.entity.HumanEntity entity)
    • addOpenListener

      void addOpenListener(Consumer<org.bukkit.entity.HumanEntity> listener)
    • addCloseListener

      void addCloseListener(Consumer<org.bukkit.entity.HumanEntity> listener)
    • addClickListener

      void addClickListener(Consumer<org.bukkit.event.inventory.InventoryClickEvent> listener)