public static interface UseItemStackEvent.Stop extends UseItemStackEvent, Cancellable
UseItemStackEvent.Tick
when an ItemType
has finished being
used.
Examples:
Duration on this event is how long the item had left in its countdown before 'finishing'.
In Vanilla, this is only fired for players, not other entities.
In Vanilla, setting the duration on this event will have no effect.
Cancelling this event will prevent the ItemType
from being
notified that it has stopped being used. The only vanilla
ItemType
this would affect are bows, and it would cause the bow
to NOT fire.
UseItemStackEvent.Finish, UseItemStackEvent.Replace, UseItemStackEvent.Reset, UseItemStackEvent.Start, UseItemStackEvent.Stop, UseItemStackEvent.Tick
getItemStackInUse, getOriginalRemainingDuration, getRemainingDuration, setRemainingDuration
getCause, getContext, getSource
isCancelled, setCancelled