public static class LivingEntityUseItemEvent.Tick extends LivingEntityUseItemEvent
LivingEntityUseItemEvent.Start
for info.
Cancel the event, or set the duration or <= 0 to cause the player to stop using the item.LivingEntityUseItemEvent.Finish, LivingEntityUseItemEvent.Start, LivingEntityUseItemEvent.Stop, LivingEntityUseItemEvent.Tick
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Constructor and Description |
---|
Tick(EntityLivingBase entity,
ItemStack item,
int duration) |
getDuration, getItem, setDuration
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public Tick(EntityLivingBase entity, ItemStack item, int duration)