Kt Inventory Paginated
Abstract class for paginated inventories with customizable titles.
Since
2.0.0
Parameters
The plugin instance
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 paginated inventory.
Abstract class for refreshable paginated inventories.
Properties
Map of all buttons in the inventory
List of entries to be paginated
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