public static interface ClickInventoryEvent.Shift extends ClickInventoryEvent
shift modifier active.
Usually contains multiple transactions.
ClickInventoryEvent.getSlot() returns the primary interaction Slot.
The Shift-Double-Click action fires this event multiple times. In that case the primary interaction Slot is the Slot of the item moved away.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ClickInventoryEvent.Shift.Primary
A click with the primary mouse button and the
shift modifier active |
static interface |
ClickInventoryEvent.Shift.Secondary
A click with the secondary mouse button and the
shift modifier active |
ClickInventoryEvent.Creative, ClickInventoryEvent.Double, ClickInventoryEvent.Drag, ClickInventoryEvent.Drop, ClickInventoryEvent.Middle, ClickInventoryEvent.NumberPress, ClickInventoryEvent.Recipe, ClickInventoryEvent.ShiftChangeInventoryEvent.Equipment, ChangeInventoryEvent.Held, ChangeInventoryEvent.Pickup, ChangeInventoryEvent.SwapHand, ChangeInventoryEvent.TransferInteractInventoryEvent.Close, InteractInventoryEvent.OpengetSlotfilter, getTransactionsisCancelled, setCancelledgetCursorTransactiongetTargetInventorygetCause, getContext, getSource