Cancellable
public class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent
Event.Result
player
clickedEntity
Constructor | Description |
---|---|
PlayerInteractAtEntityEvent(Player who,
Entity clickedEntity,
Vector position) |
|
PlayerInteractAtEntityEvent(Player who,
Entity clickedEntity,
Vector position,
EquipmentSlot hand) |
Modifier and Type | Method | Description |
---|---|---|
Vector |
getClickedPosition() |
|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
getHand, getRightClicked, isCancelled, setCancelled
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
in class PlayerInteractEntityEvent
public static HandlerList getHandlerList()