public class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent
PlayerInteractEntityEvent.
Users are advised to listen to this (parent) class unless specifically required.Event.ResultclickedEntityplayer| 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, setCancelledgetPlayergetEventName, isAsynchronouspublic PlayerInteractAtEntityEvent(@NotNull
Player who,
@NotNull
Entity clickedEntity,
@NotNull
Vector position)
public PlayerInteractAtEntityEvent(@NotNull
Player who,
@NotNull
Entity clickedEntity,
@NotNull
Vector position,
@NotNull
EquipmentSlot hand)
@NotNull public Vector getClickedPosition()
@NotNull public HandlerList getHandlers()
getHandlers in class PlayerInteractEntityEvent@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.