create Button
fun createButton(itemStack: ItemStack, onClick: (KtInventoryButton.ClickEvent<AbstractKtInventoryPaginated.Entry<T>>) -> Unit): KtInventoryButton<AbstractKtInventoryPaginated.Entry<T>>
Creates a new inventory button
Return
Created button
Since
2.0.0
Parameters
item Stack
Item to display
on Click
Click handler