Kt Inventory Paginated
Types
Link copied to clipboard
class Entry<T : KtInventoryPaginated>(val paginated: T, val page: Int, val lastPage: Int) : KtInventory
Link copied to clipboard
Functions
Link copied to clipboard
fun button(slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<KtInventory>) -> Unit = {})
fun button(vararg slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<KtInventory>) -> Unit = {})
fun button(slots: Iterable<Int>, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<KtInventory>) -> Unit = {})
Link copied to clipboard
fun createButton(itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<KtInventoryPaginated.Entry<KtInventoryPaginated>>) -> Unit): KtInventoryButton<KtInventoryPaginated.Entry<KtInventoryPaginated>>
Link copied to clipboard
Link copied to clipboard
fun nextPageButton(slot: Int, item: KtInventoryButton<KtInventoryPaginated.Entry<KtInventoryPaginated>>)
fun nextPageButton(slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<KtInventoryPaginated.Entry<KtInventoryPaginated>>) -> Unit = {})
Link copied to clipboard
Link copied to clipboard
fun previousPageButton(slot: Int, item: KtInventoryButton<KtInventoryPaginated.Entry<KtInventoryPaginated>>)
fun previousPageButton(slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<KtInventoryPaginated.Entry<KtInventoryPaginated>>) -> Unit = {})