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