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