类 PlayerInteractAtEntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerInteractEntityEvent
org.bukkit.event.player.PlayerInteractAtEntityEvent
- 所有已实现的接口:
Cancellable
当玩家在实体上点击某实体上的某位置时触发此事件.
Note that the client may sometimes spuriously send this packet in addition to
Note that the client may sometimes spuriously send this packet in addition to
PlayerInteractEntityEvent
.
Users are advised to listen to this (parent) class unless specifically required.-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
从类继承的字段 org.bukkit.event.player.PlayerInteractEntityEvent
clickedEntity
从类继承的字段 org.bukkit.event.player.PlayerEvent
player
-
构造器概要
构造器说明PlayerInteractAtEntityEvent
(Player who, Entity clickedEntity, Vector position) PlayerInteractAtEntityEvent
(Player who, Entity clickedEntity, Vector position, EquipmentSlot hand) -
方法概要
从类继承的方法 org.bukkit.event.player.PlayerInteractEntityEvent
getHand, getRightClicked, isCancelled, setCancelled
从类继承的方法 org.bukkit.event.player.PlayerEvent
getPlayer
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
PlayerInteractAtEntityEvent
-
PlayerInteractAtEntityEvent
public PlayerInteractAtEntityEvent(Player who, Entity clickedEntity, Vector position, EquipmentSlot hand)
-
-
方法详细资料
-
getClickedPosition
-
getHandlers
- 覆盖:
getHandlers
在类中PlayerInteractEntityEvent
-
getHandlerList
-