public class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent
PlayerInteractEntityEvent.
 Users are advised to listen to this (parent) class unless specifically required.
 Event.ResultclickedEntityplayer| Constructor and Description | 
|---|
PlayerInteractAtEntityEvent(@NotNull Player who,
                           @NotNull Entity clickedEntity,
                           @NotNull Vector position)  | 
PlayerInteractAtEntityEvent(@NotNull Player who,
                           @NotNull Entity clickedEntity,
                           @NotNull Vector position,
                           @NotNull EquipmentSlot hand)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Vector | 
getClickedPosition()  | 
static @NotNull HandlerList | 
getHandlerList()  | 
@NotNull HandlerList | 
getHandlers()  | 
getHand, getRightClicked, isCancelled, setCancelledgetPlayercallEvent, getEventName, isAsynchronouspublic PlayerInteractAtEntityEvent(@NotNull @NotNull Player who, @NotNull @NotNull Entity clickedEntity, @NotNull @NotNull Vector position)
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class PlayerInteractEntityEvent@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2022. All rights reserved.