Paginated

abstract class Paginated(plugin: Plugin, line: Int) : KtInventory

Constructors

Link copied to clipboard
constructor(plugin: Plugin, line: Int)

Types

Link copied to clipboard
class Entry(paginated: KtInventory.Paginated, page: Int, lastPage: Int) : KtInventory

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getInventory(): Inventory
Link copied to clipboard
fun nextPageButton(slot: Int, itemStack: ItemStack, onClick: (InventoryClickEvent, KtInventory.Paginated.Entry) -> Unit = { _, _ -> })
Link copied to clipboard
open fun onClick(event: InventoryClickEvent)
fun onClick(slot: Int, event: InventoryClickEvent)
Link copied to clipboard
open fun onClose(event: InventoryCloseEvent)
Link copied to clipboard
open fun onOpen(event: InventoryOpenEvent)
Link copied to clipboard
open override fun open(player: HumanEntity)
fun open(player: HumanEntity, page: Int)
Link copied to clipboard
fun paginateSlot(vararg slot: Int)
Link copied to clipboard
fun previousPageButton(slot: Int, itemStack: ItemStack, onClick: (InventoryClickEvent, KtInventory.Paginated.Entry) -> Unit = { _, _ -> })
Link copied to clipboard
open override fun title(): String
abstract fun title(page: Int, lastPage: Int): String