public class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent
Event.Result
clickedEntity
player
Constructor and Description |
---|
PlayerInteractAtEntityEvent(Player who,
Entity clickedEntity,
Vector position) |
PlayerInteractAtEntityEvent(Player who,
Entity clickedEntity,
Vector position,
EquipmentSlot hand) |
Modifier and Type | Method and Description |
---|---|
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
in class PlayerInteractEntityEvent
public static HandlerList getHandlerList()
Copyright © 2016. All rights reserved.