KtInventoryPaginated

abstract class KtInventoryPaginated(plugin: Plugin, line: Int, altColorChar: Char? = '&') : AbstractKtInventoryPaginated<KtInventoryPaginated>

Constructors

Link copied to clipboard
constructor(plugin: Plugin, line: Int, altColorChar: Char? = '&')

Types

Link copied to clipboard
class Entry<T : KtInventoryPaginated>(paginated: T, page: Int, lastPage: Int) : AbstractKtInventoryPaginated.Entry<T>
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val line: Int
Link copied to clipboard
val size: Int

Functions

Link copied to clipboard
override fun button(slot: Int, item: KtInventoryButton<KtInventoryBase>)
fun button(vararg slot: Int, item: KtInventoryButton<KtInventoryBase>)
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 handleClick(event: InventoryClickEvent)
Link copied to clipboard
open fun onClick(event: InventoryClickEvent)
Link copied to clipboard
open fun onClickBottom(event: InventoryClickEvent)
Link copied to clipboard
open fun onClose(event: InventoryCloseEvent)
Link copied to clipboard
open fun onDrag(event: InventoryDragEvent)
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 slots: Int)
Link copied to clipboard
abstract fun title(page: Int, lastPage: Int): String