java.lang.Object
tech.guilhermekaua.spigotboot.inventoryapi.internal.layout.GridSlotsLayout
All Implemented Interfaces:
Layout

@Internal public final class GridSlotsLayout extends Object implements Layout
Grid-parsed Layout backing Layout.ofGrid(java.lang.String...): ' ' is empty, every other character is a fill slot ordered by character code point (Unicode value), then occurrence.
  • Constructor Details

  • Method Details

    • slots

      @NotNull public @NotNull List<Integer> slots()
      Description copied from interface: Layout
      Returns the slot positions in fill order.
      Specified by:
      slots in interface Layout
      Returns:
      an unmodifiable ordered list of slot indices