Interface ChangeInventoryEvent.Drop

All Superinterfaces:
AffectEntityEvent, AffectItemStackEvent, AffectSlotEvent, Cancellable, ChangeInventoryEvent, DropItemEvent, DropItemEvent.Dispense, Event, SpawnEntityEvent
All Known Subinterfaces:
ChangeInventoryEvent.Drop.Full, ChangeInventoryEvent.Drop.Single
Enclosing interface:
ChangeInventoryEvent

public static interface ChangeInventoryEvent.Drop extends ChangeInventoryEvent, DropItemEvent.Dispense
An interaction resulting in dropping an item.

Note this is for dropping items with no container open.

See ClickContainerEvent.Drop for events with a container open.

  • Method Details

    • slot

      Slot slot()
      The current active hand slot
      Returns:
      the current active hand slot.