Interface UseItemStackEvent.Stop
- 
- All Superinterfaces:
- Cancellable,- Event,- UseItemStackEvent
 - Enclosing interface:
- UseItemStackEvent
 
 public static interface UseItemStackEvent.Stop extends UseItemStackEvent, Cancellable Called afterUseItemStackEvent.Tickwhen anItemTypehas finished being used.Examples: - Stop eating halfway through
- Stop defending with sword
- Stop drawing bow. This case would fire the arrow
 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 ItemTypefrom being notified that it has stopped being used. The only vanillaItemTypethis would affect are bows, and it would cause the bow to NOT fire.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.UseItemStackEventUseItemStackEvent.Finish, UseItemStackEvent.Replace, UseItemStackEvent.Reset, UseItemStackEvent.Start, UseItemStackEvent.Stop, UseItemStackEvent.Tick
 
- 
 - 
Method Summary- 
Methods inherited from interface org.spongepowered.api.event.CancellableisCancelled, setCancelled
 - 
Methods inherited from interface org.spongepowered.api.event.item.inventory.UseItemStackEventitemStackInUse, originalRemainingDuration, remainingDuration, setRemainingDuration
 
- 
 
-