Package net.ess3.api.events.teleport
Class PreTeleportEvent
java.lang.Object
org.bukkit.event.Event
net.ess3.api.events.teleport.TeleportEvent
net.ess3.api.events.teleport.PreTeleportEvent
- All Implemented Interfaces:
Cancellable
Called before a player is teleported.
Note that this is called after any warmup has been performed but before teleport safety checks are performed. Cancelling this event will cancel the teleport without warning the user.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionPreTeleportEvent
(IUser teleportee, PlayerTeleportEvent.TeleportCause cause, ITarget target) -
Method Summary
Methods inherited from class net.ess3.api.events.teleport.TeleportEvent
getTarget, getTeleportCause, getTeleportee, getTeleporter, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PreTeleportEvent
-
-
Method Details
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-