Cancellablepublic class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent
PlayerInteractEntityEvent.
Users are advised to listen to this (parent) class unless specifically required.Event.ResultplayerclickedEntity| Constructor | 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 | Description |
|---|---|---|
@NotNull Vector |
getClickedPosition() |
|
static @NotNull HandlerList |
getHandlerList() |
|
@NotNull HandlerList |
getHandlers() |
getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayergetHand, getRightClicked, isCancelled, setCancelledpublic PlayerInteractAtEntityEvent(@NotNull
@NotNull Player who,
@NotNull
@NotNull Entity clickedEntity,
@NotNull
@NotNull Vector position)
public PlayerInteractAtEntityEvent(@NotNull
@NotNull Player who,
@NotNull
@NotNull Entity clickedEntity,
@NotNull
@NotNull Vector position,
@NotNull
@NotNull EquipmentSlot hand)
@NotNull public @NotNull Vector getClickedPosition()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class PlayerInteractEntityEvent@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.