Interface UseItemStackEvent.Start

All Superinterfaces:
Cancellable, Event, UseItemStackEvent
Enclosing interface:
UseItemStackEvent

public static interface UseItemStackEvent.Start extends UseItemStackEvent, Cancellable
Called before UseItemStackEvent.Tick when a player starts using an ItemType, typically when they hold right mouse.

Examples:

  • Drawing a bow
  • Eating food
  • Drinking Potions/Milk
  • Guarding with a sword

Note: Cancelling the event, or setting the duration to <= 0 prevents the ItemType from processing.