类 PlayerTeleportEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerMoveEvent
org.bukkit.event.player.PlayerTeleportEvent
- 所有已实现的接口:
Cancellable
- 直接已知子类:
PlayerPortalEvent
玩家传送事件.
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
从类继承的字段 org.bukkit.event.player.PlayerEvent
player
-
构造器概要
构造器说明PlayerTeleportEvent
(Player player, Location from, Location to) PlayerTeleportEvent
(Player player, Location from, Location to, PlayerTeleportEvent.TeleportCause cause) -
方法概要
从类继承的方法 org.bukkit.event.player.PlayerMoveEvent
getFrom, getTo, isCancelled, setCancelled, setFrom, setTo
从类继承的方法 org.bukkit.event.player.PlayerEvent
getPlayer
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
PlayerTeleportEvent
-
PlayerTeleportEvent
public PlayerTeleportEvent(Player player, Location from, Location to, PlayerTeleportEvent.TeleportCause cause)
-
-
方法详细资料
-
getCause
获得此次传送的传送理由.原文:Gets the cause of this teleportation event
- 返回:
- 传送理由
-
getHandlers
- 覆盖:
getHandlers
在类中PlayerMoveEvent
-
getHandlerList
-