public class PlayerUseUnknownEntityEvent extends PlayerEvent
Event.Resultplayer| Constructor | Description |
|---|---|
PlayerUseUnknownEntityEvent(Player who,
int entityId,
boolean attack,
EquipmentSlot hand) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getEntityId() |
|
EquipmentSlot |
getHand() |
|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
boolean |
isAttack() |
callEvent, getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayerpublic PlayerUseUnknownEntityEvent(@NotNull
Player who,
int entityId,
boolean attack,
@NotNull
EquipmentSlot hand)
public int getEntityId()
public boolean isAttack()
@NotNull public EquipmentSlot getHand()
@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2019. All rights reserved.