Class PlayerBaseEnterEvent
java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.player.PlayerBaseEnterEvent
public class PlayerBaseEnterEvent
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
ConstructorDescriptionPlayerBaseEnterEvent
(org.bukkit.entity.Player p, ITeam team) Called when a player enters a team base. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.entity.Player
Get the player that entered the basegetTeam()
Get the team owing the entered baseMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerBaseEnterEvent
Called when a player enters a team base. Called when the distance between the player and a team bed is greater than islandRadius
-
-
Method Details
-
getTeam
Get the team owing the entered base -
getPlayer
public org.bukkit.entity.Player getPlayer()Get the player that entered the base -
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-