Class TeamSpawnPointChangeEvent

java.lang.Object
org.bukkit.event.Event
fr.luc.crcore.features.team.event.TeamEvent
fr.luc.crcore.features.team.event.TeamSpawnPointChangeEvent

public class TeamSpawnPointChangeEvent extends TeamEvent
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

    Constructors
    Constructor
    Description
    TeamSpawnPointChangeEvent(Team team, org.bukkit.Location oldLocation, org.bukkit.Location newLocation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    org.bukkit.Location
    Le nouveau spawn, ou null si on a fait un clear.
    org.bukkit.Location
    L'ancien spawn, ou null s'il n'y en avait pas.

    Methods inherited from class TeamEvent

    getTeam

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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, ou null s'il n'y en avait pas.
    • getNewLocation

      public org.bukkit.Location getNewLocation()
      Le nouveau spawn, ou null si on a fait un clear.
    • getHandlers

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

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