Interface Gesture

All Known Implementing Classes:
Gesture.HotbarSwap, Gesture.Pickup, Gesture.Place, Gesture.QuickMoveIn, Gesture.QuickMoveOut, Gesture.Spread, Gesture.SwapWithCursor

A decoded player gesture on a grid screen. Internal; may change in any release.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Number key 1-9 over a bound slot: exchanges the bound item with hotbar slot hotbar (0..8, Bukkit inventory slot number = hotbar index).
    static final record 
    Left (all) or right (half, rounded up) on a bound slot with an empty cursor.
    static final record 
    Left (all) or right (one) with a non-empty cursor on a bound slot holding nothing or a similar item.
    static final record 
    Shift-click on one of the viewer's storage slots (playerSlot 0..35): into visible EDITABLE bindings.
    static final record 
    Shift-click on a bound slot: to the viewer's inventory, what fits.
    static final record 
    Cursor drag over top slots only; one: one per slot, else split evenly.
    static final record 
    Left with a non-empty cursor on a bound slot holding a different item.