Interface Gesture
- All Known Implementing Classes:
Gesture.HotbarSwap, Gesture.Pickup, Gesture.Place, Gesture.QuickMoveIn, Gesture.QuickMoveOut, Gesture.Spread, Gesture.SwapWithCursor
@Internal
public sealed interface Gesture
permits Gesture.Pickup, Gesture.Place, Gesture.SwapWithCursor, Gesture.HotbarSwap, Gesture.QuickMoveOut, Gesture.QuickMoveIn, Gesture.Spread
A decoded player gesture on a grid screen. Internal; may change in any release.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordNumber key 1-9 over a bound slot: exchanges the bound item with hotbar slothotbar(0..8, Bukkit inventory slot number = hotbar index).static final recordLeft (all) or right (half, rounded up) on a bound slot with an empty cursor.static final recordLeft (all) or right (one) with a non-empty cursor on a bound slot holding nothing or a similar item.static final recordShift-click on one of the viewer's storage slots (playerSlot0..35): into visible EDITABLE bindings.static final recordShift-click on a bound slot: to the viewer's inventory, what fits.static final recordCursor drag over top slots only;one: one per slot, else split evenly.static final recordLeft with a non-empty cursor on a bound slot holding a different item.