Abstract Kt Inventory Paginated Fetched
Base class for inventories that fetch entries by display condition.
Since
2.2.0
Parameters
Plugin context
Number of inventory rows
Type Parameters
Type of the fetched inventory
Type of the display condition
Inheritors
Types
Represents a single fetched inventory page.
Base class for refreshable condition-fetched paginated inventories.
Properties
Map of all buttons in the inventory
Initial display condition used by open.
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 condition.
Called when bottom inventory is clicked
Sets slots to be used for pagination.
Adds a button to navigate to the previous condition.
Adds a storable that is applied to each created condition entry.