Interface Click.Drag

All Superinterfaces:
Click
All Known Implementing Classes:
Click.LeftDrag, Click.MiddleDrag, Click.RightDrag
Enclosing interface:
Click

public static sealed interface Click.Drag extends Click permits Click.LeftDrag, Click.RightDrag, Click.MiddleDrag
Represents a drag click in an inventory.
  • Method Details

    • slots

      @NotNull @NotNull List<Integer> slots()
      Returns the list of slots. When the event inventory is the opened inventory, slots greater than its size indicate slots in the player inventory; subtract the size of the event inventory to get the player inventory slot.