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, EntityEvent.EyeHeight
Constructor and Description |
---|
Tick(LivingEntity entity,
ItemStack item,
int duration) |
getDuration, getItem, setDuration
getEntityLiving
getEntity
public Tick(LivingEntity entity, @Nonnull ItemStack item, int duration)