NextPageButton

class NextPageButton(val identifiableItem: IdentifiableItem) : MultiPageButton(source)

This class represents a button that will open the next page of the MultiPageBuilder inventory once it has been clicked

Parameters

identifiableItem

The item that will be displayed in the inventory by which this button identifies

Constructors

Link copied to clipboard
constructor(identifiableItem: IdentifiableItem)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun performAction(event: InventoryClickEvent, page: Int, multiPageBuilder: MultiPageBuilder)

This function will open the next page of the inventory. It will be called when the button is clicked