public class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent
PlayerInteractEntityEvent.
Users are advised to listen to this (parent) class unless specifically required.Event.ResultclickedEntityplayer| 构造器和说明 |
|---|
PlayerInteractAtEntityEvent(Player who,
Entity clickedEntity,
Vector position) |
PlayerInteractAtEntityEvent(Player who,
Entity clickedEntity,
Vector position,
EquipmentSlot hand) |
| 限定符和类型 | 方法和说明 |
|---|---|
Vector |
getClickedPosition() |
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
getHand, getRightClicked, isCancelled, setCancelledgetPlayergetEventName, isAsynchronouspublic PlayerInteractAtEntityEvent(Player who, Entity clickedEntity, Vector position)
public PlayerInteractAtEntityEvent(Player who, Entity clickedEntity, Vector position, EquipmentSlot hand)
public Vector getClickedPosition()
public HandlerList getHandlers()
getHandlers 在类中 PlayerInteractEntityEventpublic static HandlerList getHandlerList()