Class PlayerSidebarInitEvent

java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.sidebar.PlayerSidebarInitEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PlayerSidebarInitEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
  • Constructor Details

    • PlayerSidebarInitEvent

      public PlayerSidebarInitEvent(org.bukkit.entity.Player player, ISidebar sidebar)
  • Method Details

    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancel)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
    • setPlayer

      public void setPlayer(org.bukkit.entity.Player player)
    • getSidebar

      public ISidebar getSidebar()
    • setSidebar

      public void setSidebar(ISidebar sidebar)