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