public static interface UseItemStackEvent.Finish extends UseItemStackEvent, Cancellable
UseItemStackEvent.Stop, this even will not fire if the item use was interrupted in any way.
This event will always be fired with an original duration of 0. Setting the duration to an integer greater than 0 will cause the entity to continue using the item.
Cancelling this event prevents the 'finished' action
from taking place. For example, this would prevent a Vanilla
potion item from apply its effects to a player.
will then be fired, while
UseItemStackEvent.Replace will be skipped.
getItemStackInUse, getOriginalRemainingDuration, getRemainingDuration, setRemainingDuration