public class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent
PlayerInteractEntityEvent
.
Users are advised to listen to this (parent) class unless specifically required.
Event.Result
clickedEntity
player
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, setCancelled
getPlayer
callEvent, getEventName, isAsynchronous
public 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 © 2021. All rights reserved.