KtInventoryPaginated

abstract class KtInventoryPaginated(plugin: Plugin, line: Int) : KtInventoryBase

Constructors

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

Types

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

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun button(slot: Int, itemStack: ItemStack, onClick: (InventoryClickEvent, KtInventory) -> Unit = { _, _ -> })
override fun button(slot: Int, item: KtInventoryButton<KtInventoryBase>)
Link copied to clipboard
fun nextPageButton(slot: Int, itemStack: ItemStack, onClick: (InventoryClickEvent, KtInventoryPaginated.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
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, KtInventoryPaginated.Entry) -> Unit = { _, _ -> })
Link copied to clipboard
abstract fun title(page: Int, lastPage: Int): String