类 PlayerTeleportEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.player.PlayerEvent
cn.nukkit.event.player.PlayerTeleportEvent
- 所有已实现的接口:
Cancellable
-
嵌套类概要
-
字段概要
从类继承的字段 cn.nukkit.event.player.PlayerEvent
player
-
构造器概要
构造器说明PlayerTeleportEvent
(Player player, Location from, Location to, PlayerTeleportEvent.TeleportCause cause) PlayerTeleportEvent
(Player player, Vector3 from, Vector3 to, PlayerTeleportEvent.TeleportCause cause) -
方法概要
从类继承的方法 cn.nukkit.event.player.PlayerEvent
getPlayer
从类继承的方法 cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
构造器详细资料
-
PlayerTeleportEvent
public PlayerTeleportEvent(Player player, Location from, Location to, PlayerTeleportEvent.TeleportCause cause) -
PlayerTeleportEvent
public PlayerTeleportEvent(Player player, Vector3 from, Vector3 to, PlayerTeleportEvent.TeleportCause cause)
-
-
方法详细资料
-
getHandlers
-
getFrom
-
getTo
-
getCause
-