Interface ISpigotHotbar

All Known Implementing Classes:
SpigotHotbar

public interface ISpigotHotbar
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addInteractEntityListener(Consumer<org.bukkit.event.player.PlayerInteractEntityEvent> listener)
     
    void
    addInteractListener(Consumer<org.bukkit.event.player.PlayerInteractEvent> listener)
     
    void
    addInventoryClickListener(Consumer<org.bukkit.event.inventory.InventoryClickEvent> listener)
     
    org.bukkit.inventory.ItemStack[]
     
    void
    open(org.bukkit.entity.Player player)
     
    void
    setItem(int index, org.bukkit.inventory.ItemStack itemStack)
     
    void
    setItem(int index, org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.entity.Player> onClick)
     
    void
    setItem(int index, org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.event.player.PlayerInteractEvent> interact, Consumer<org.bukkit.event.player.PlayerInteractEntityEvent> interactEntity, Consumer<org.bukkit.event.inventory.InventoryClickEvent> click)
     
  • Method Details

    • setItem

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

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

      void setItem(int index, org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.event.player.PlayerInteractEvent> interact, Consumer<org.bukkit.event.player.PlayerInteractEntityEvent> interactEntity, Consumer<org.bukkit.event.inventory.InventoryClickEvent> click)
    • items

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

      void open(org.bukkit.entity.Player player)
    • addInteractListener

      void addInteractListener(Consumer<org.bukkit.event.player.PlayerInteractEvent> listener)
    • addInteractEntityListener

      void addInteractEntityListener(Consumer<org.bukkit.event.player.PlayerInteractEntityEvent> listener)
    • addInventoryClickListener

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