public class PlayerUseUnknownEntityEvent extends PlayerEvent
Event.Result
player
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, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
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 © 2019. All rights reserved.