Class SpectatorFirstPersonLeaveEvent

java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.spectator.SpectatorFirstPersonLeaveEvent

public class SpectatorFirstPersonLeaveEvent extends org.bukkit.event.Event
  • Constructor Details

    • SpectatorFirstPersonLeaveEvent

      public SpectatorFirstPersonLeaveEvent(org.bukkit.entity.Player spectator, IArena arena, Function<org.bukkit.entity.Player,String> title, Function<org.bukkit.entity.Player,String> subtitle)
  • Method Details

    • getSpectator

      public org.bukkit.entity.Player getSpectator()
      Get the spectator
    • getArena

      public IArena getArena()
      Get the arena
    • getSubTitle

      public Function<org.bukkit.entity.Player,String> getSubTitle()
      Get first person leave subtitle
    • setSubTitle

      public void setSubTitle(Function<org.bukkit.entity.Player,String> subTitle)
    • getTitle

      public Function<org.bukkit.entity.Player,String> getTitle()
      Get first person leave title
    • setTitle

      public void setTitle(Function<org.bukkit.entity.Player,String> title)
    • getFadeIn

      public int getFadeIn()
    • getFadeOut

      public int getFadeOut()
    • getStay

      public int getStay()
    • setFadeIn

      public void setFadeIn(int fadeIn)
    • setFadeOut

      public void setFadeOut(int fadeOut)
    • setStay

      public void setStay(int stay)
    • getHandlers

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

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