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