Class TeamSpawnPointChangeEvent
java.lang.Object
org.bukkit.event.Event
fr.luc.crcore.features.team.event.TeamEvent
fr.luc.crcore.features.team.event.TeamSpawnPointChangeEvent
Déclenché après changement du point de spawn d'une équipe.
oldLocation
et newLocation peuvent être null (clear / setup initial).-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionTeamSpawnPointChangeEvent(Team team, org.bukkit.Location oldLocation, org.bukkit.Location newLocation) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerListorg.bukkit.event.HandlerListorg.bukkit.LocationLe nouveau spawn, ounullsi on a fait un clear.org.bukkit.LocationL'ancien spawn, ounulls'il n'y en avait pas.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
TeamSpawnPointChangeEvent
public TeamSpawnPointChangeEvent(Team team, org.bukkit.Location oldLocation, org.bukkit.Location newLocation)
-
-
Method Details
-
getOldLocation
public org.bukkit.Location getOldLocation()L'ancien spawn, ounulls'il n'y en avait pas. -
getNewLocation
public org.bukkit.Location getNewLocation()Le nouveau spawn, ounullsi on a fait un clear. -
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-