Kt Inventory Paginated Adventure
abstract class KtInventoryPaginatedAdventure(plugin: Plugin, line: Int) : AbstractKtInventoryPaginated<KtInventoryPaginatedAdventure>
Types
Link copied to clipboard
class Entry<T : KtInventoryPaginatedAdventure>(paginated: T, page: Int, lastPage: Int) : AbstractKtInventoryPaginated.Entry<T>
Link copied to clipboard
abstract class Refreshable<T : KtInventoryPaginatedAdventure>(clazz: KClass<T>) : AbstractKtInventoryPaginated.Refreshable<T>
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<KtInventoryPaginatedAdventure>>) -> Unit): KtInventoryButton<AbstractKtInventoryPaginated.Entry<KtInventoryPaginatedAdventure>>
Link copied to clipboard
Link copied to clipboard
fun nextPageButton(slot: Int, item: KtInventoryButton<AbstractKtInventoryPaginated.Entry<KtInventoryPaginatedAdventure>>)
fun nextPageButton(slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<AbstractKtInventoryPaginated.Entry<KtInventoryPaginatedAdventure>>) -> Unit = {})
Link copied to clipboard
Link copied to clipboard
fun previousPageButton(slot: Int, item: KtInventoryButton<AbstractKtInventoryPaginated.Entry<KtInventoryPaginatedAdventure>>)
fun previousPageButton(slot: Int, itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<AbstractKtInventoryPaginated.Entry<KtInventoryPaginatedAdventure>>) -> Unit = {})