KtInventoryPaginated

abstract class KtInventoryPaginated(plugin: Plugin, val line: Int) : KtInventoryBase

Constructors

Link copied to clipboard
constructor(plugin: Plugin, line: Int)

Types

Link copied to clipboard
class Entry<T : KtInventoryPaginated>(val paginated: T, val page: Int, val lastPage: Int) : KtInventory
Link copied to clipboard
abstract class Refreshable<T : KtInventoryPaginated>(val clazz: KClass<T>)

Properties

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

Functions

Link copied to clipboard
fun button(vararg slot: Int, item: KtInventoryButton<KtInventoryBase>)
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 = {})
override fun button(slot: Int, item: KtInventoryButton<KtInventoryBase>)
Link copied to clipboard
fun handleClick(event: InventoryClickEvent)
Link copied to clipboard
open fun onClick(event: InventoryClickEvent)
Link copied to clipboard
open fun onClose(event: InventoryCloseEvent)
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