public class PlayerUseUnknownEntityEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description |
|---|
PlayerUseUnknownEntityEvent(@NotNull Player who,
int entityId,
boolean attack,
@NotNull EquipmentSlot hand) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntityId() |
@NotNull EquipmentSlot |
getHand() |
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
boolean |
isAttack() |
getPlayercallEvent, getEventName, isAsynchronouspublic int getEntityId()
public boolean isAttack()
@NotNull public @NotNull EquipmentSlot getHand()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.