Interface ChangeInventoryEvent.Held

All Superinterfaces:
AffectItemStackEvent, AffectSlotEvent, Cancellable, ChangeInventoryEvent, Event
Enclosing interface:
ChangeInventoryEvent

public static interface ChangeInventoryEvent.Held extends ChangeInventoryEvent
Fired when a Living changes it's held Slot.

This can happen by either scrolling or pressing the number key for the slot.

  • Method Details

    • originalSlot

      Slot originalSlot()
      The previously selected slot.
      Returns:
      The previously selected slot.
    • finalSlot

      Slot finalSlot()
      The new selected slot.
      Returns:
      The new selected slot.