Class SpectatorFirstPersonLeaveEvent
java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.spectator.SpectatorFirstPersonLeaveEvent
public class SpectatorFirstPersonLeaveEvent
extends org.bukkit.event.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArena()
Get the arenaint
int
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.entity.Player
Get the spectatorint
getStay()
Get first person leave subtitlegetTitle()
Get first person leave titlevoid
setFadeIn
(int fadeIn) void
setFadeOut
(int fadeOut) void
setStay
(int stay) void
setSubTitle
(Function<org.bukkit.entity.Player, String> subTitle) void
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
SpectatorFirstPersonLeaveEvent
-
-
Method Details
-
getSpectator
public org.bukkit.entity.Player getSpectator()Get the spectator -
getArena
Get the arena -
getSubTitle
Get first person leave subtitle -
setSubTitle
-
getTitle
Get first person leave title -
setTitle
-
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 classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-