public interface EntityLivingUseItemEvent extends IEventCancelable, ILivingEvent
Modifier and Type | Interface and Description |
---|---|
static interface |
EntityLivingUseItemEvent.Finish |
static interface |
EntityLivingUseItemEvent.Start |
static interface |
EntityLivingUseItemEvent.Stop |
static interface |
EntityLivingUseItemEvent.Tick |
Modifier and Type | Method and Description |
---|---|
int |
getDuration() |
IItemStack |
getItem() |
IPlayer |
getPlayer() |
boolean |
isPlayer() |
void |
setDuration(int duration) |
cancel, isCanceled, setCanceled
getEntity, getEntityLivingBase
IItemStack getItem()
boolean isPlayer()
IPlayer getPlayer()
int getDuration()
void setDuration(int duration)