Cancellablepublic class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent
PlayerInteractEntityEvent.
 Users are advised to listen to this (parent) class unless specifically required.Event.ResultplayerclickedEntity| 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() | 
callEvent, getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayergetHand, getRightClicked, isCancelled, setCancelledpublic 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 PlayerInteractEntityEventpublic static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.