Custom Page Button
class CustomPageButton(val identifiableItem: IdentifiableItem, pageToOpen: Int) : MultiPageButton(source)
This class represents a button that will open a custom page of the MultiPageBuilder inventory once it has been clicked
Parameters
identifiable Item
The item that will be displayed in the inventory by which this button identifies
page To Open
The page number which will be opened when the button is clicked
Functions
Link copied to clipboard
open override fun performAction(event: InventoryClickEvent, page: Int, multiPageBuilder: MultiPageBuilder)
This function will open the custom page of the inventory. It will be called when the button is clicked