Class PlayerUseLobbyItemEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.event.player.PlayerUseLobbyItemEvent
All Implemented Interfaces:
ArenaEvent, Cancellable

public class PlayerUseLobbyItemEvent extends PlayerEvent implements ArenaEvent, Cancellable
Gets called whenever a player uses a LobbyItem
  • Constructor Details

  • Method Details

    • getLobbyItem

      public LobbyItem getLobbyItem()
      Returns the LobbyItem that was used by the player.
      Returns:
      The item involved in this event
    • getItem

      public ItemStack getItem()
      Returns the ItemStack on which has been clicked.
      Returns:
      The item on which has been clicked
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()