Package cn.nukkit.event.player
Class PlayerTeleportEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.player.PlayerEvent
cn.nukkit.event.player.PlayerTeleportEvent
- All Implemented Interfaces:
Cancellable
-
Nested Class Summary
-
Field Summary
Fields inherited from class cn.nukkit.event.player.PlayerEvent
player
-
Constructor Summary
ConstructorDescriptionPlayerTeleportEvent
(Player player, Location from, Location to, PlayerTeleportEvent.TeleportCause cause) PlayerTeleportEvent
(Player player, Vector3 from, Vector3 to, PlayerTeleportEvent.TeleportCause cause) -
Method Summary
Methods inherited from class cn.nukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
PlayerTeleportEvent
public PlayerTeleportEvent(Player player, Location from, Location to, PlayerTeleportEvent.TeleportCause cause) -
PlayerTeleportEvent
public PlayerTeleportEvent(Player player, Vector3 from, Vector3 to, PlayerTeleportEvent.TeleportCause cause)
-
-
Method Details
-
getHandlers
-
getFrom
-
getTo
-
getCause
-