public static interface UseItemStackEvent.Tick extends UseItemStackEvent, Cancellable
UseItemStackEvent.Start
during each tick as an
ItemType
is being used.
In Vanilla, tick actions are used to play eating particles and sounds.
In Vanilla, items only perform an action every 4 ticks, and only when 25 or fewer ticks remaining. Cancelling this event on other ticks will have no effect in Vanilla.
Cancelling the event will cause no action to be taken for the particular item for the tick being processed.
Note: Setting the duration 0 will cause the player to finish using the item.
UseItemStackEvent.Finish, UseItemStackEvent.Replace, UseItemStackEvent.Reset, UseItemStackEvent.Start, UseItemStackEvent.Stop, UseItemStackEvent.Tick
getItemStackInUse, getOriginalRemainingDuration, getRemainingDuration, setRemainingDuration
getCause, getContext, getSource
isCancelled, setCancelled