public class PlayerUseUnknownEntityEvent extends PlayerEvent
Event.Result
player
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() |
getPlayer
callEvent, getEventName, isAsynchronous
public PlayerUseUnknownEntityEvent(Player who, int entityId, boolean attack, EquipmentSlot hand)
public int getEntityId()
public boolean isAttack()
public EquipmentSlot getHand()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.