public class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent
PlayerInteractEntityEvent
.
Users are advised to listen to this (parent) class unless specifically required.Event.Result
clickedEntity
player
构造器和说明 |
---|
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, setCancelled
getPlayer
getEventName, isAsynchronous
public PlayerInteractAtEntityEvent(Player who, Entity clickedEntity, Vector position)
public PlayerInteractAtEntityEvent(Player who, Entity clickedEntity, Vector position, EquipmentSlot hand)
public Vector getClickedPosition()
public HandlerList getHandlers()
getHandlers
在类中 PlayerInteractEntityEvent
public static HandlerList getHandlerList()