Interface SlotButton

All Known Subinterfaces:
BackButton, Button, HomeButton, InventoryButton, NextButton, NoneButton, PaginateButton, PreviousButton

public interface SlotButton

The SlotButton interface allows a single button to occupy multiple slots in an inventory.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the list of slots where the button will be placed.
  • Method Details

    • getSlots

      Collection<Integer> getSlots()
      Returns the list of slots where the button will be placed.
      Returns:
      The collection of slots.