public static interface UseItemStackEvent.Tick extends UseItemStackEvent, Cancellable
UseItemStackEvent.Startduring each tick as an
ItemTypeis 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.
getItemStackInUse, getOriginalRemainingDuration, getRemainingDuration, setRemainingDuration