Abstract Kt Inventory Paginated
abstract class AbstractKtInventoryPaginated<T : AbstractKtInventoryPaginated<T>>(plugin: Plugin, val line: Int) : KtInventoryBase
Inheritors
Types
Link copied to clipboard
abstract class Entry<T : AbstractKtInventoryPaginated<*>>(val paginated: T, val page: Int, val lastPage: Int) : AbstractKtInventory
Link copied to clipboard
Functions
Link copied to clipboard
fun button(slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<AbstractKtInventory>) -> Unit = {})
fun button(vararg slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<AbstractKtInventory>) -> Unit = {})
fun button(slots: Iterable<Int>, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<AbstractKtInventory>) -> Unit = {})
Link copied to clipboard
fun createButton(itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<AbstractKtInventoryPaginated.Entry<T>>) -> Unit): KtInventoryButton<AbstractKtInventoryPaginated.Entry<T>>
Link copied to clipboard
Link copied to clipboard
fun nextPageButton(slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<AbstractKtInventoryPaginated.Entry<T>>) -> Unit = {})
Link copied to clipboard
Link copied to clipboard
fun previousPageButton(slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<AbstractKtInventoryPaginated.Entry<T>>) -> Unit = {})