Kt Inventory Paginated Sequence
Abstract class for sequence-backed inventories with customizable titles.
Since
2.2.0
Parameters
Plugin context
Number of inventory lines (1-6)
The alternate color code character for title color formatting, defaults to '&'
Types
Represents a single page entry in the sequence-backed inventory.
Abstract class for refreshable sequence-backed inventories.
Properties
Map of all buttons in the inventory
Sequence of entries to be paginated.
Set of all paged storables in this inventory.
Functions
Adds an existing button to a single slot
Adds an existing button to multiple slots
Adds a button to a single slot with the given item and click handler
Adds a button to multiple slots with the given item and click handler
Creates a new inventory button.
Adds a button to navigate to the next page.
Called when bottom inventory is clicked
Sets slots to be used for pagination.
Adds a button to navigate to the previous page.
Adds a storable that is applied to each created page entry.