Interface UseItemStackEvent.Reset
- All Superinterfaces:
- Event,- UseItemStackEvent
- Enclosing interface:
- UseItemStackEvent
Called before an entity's used item state is reset.
 
In Vanilla, this usually occurs after UseItemStackEvent.Replace or UseItemStackEvent.Stop.
If an entity has finished using an item normally, either
 by using it for the maximum duration or by stopping
 prematurely, then UseItemStackEvent.Stop or UseItemStackEvent.Finish will have been called
 beforehand.
If the item use was 'cancelled' without finishing normally,
 such as an entity switching its held item, then UseItemStackEvent.Stop or UseItemStackEvent.Finish
 will not have been called.
Example:
- A player drawing back a bow, but switching to another hotbar slot without releasing their secondary mouse button.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.UseItemStackEventUseItemStackEvent.Finish, UseItemStackEvent.Replace, UseItemStackEvent.Reset, UseItemStackEvent.Start, UseItemStackEvent.Stop, UseItemStackEvent.Tick
- 
Method SummaryMethods inherited from interface org.spongepowered.api.event.item.inventory.UseItemStackEventitemStackInUse, originalRemainingDuration, remainingDuration, setRemainingDuration