GuiButtonPageChange

class GuiButtonPageChange(val icon: GuiIcon, calculator: GuiButtonPageChange.Calculator, shouldChange: suspend (GuiClickEvent) -> Boolean, onChange: suspend (GuiClickEvent) -> Unit?) : GuiButton(source)

Constructors

Link copied to clipboard
constructor(icon: GuiIcon, calculator: GuiButtonPageChange.Calculator, shouldChange: suspend (GuiClickEvent) -> Boolean, onChange: suspend (GuiClickEvent) -> Unit?)

Types

Link copied to clipboard
interface Calculator

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun getItemStack(slotIndex: Int): ItemStack
Link copied to clipboard
open suspend override fun onClick(clickEvent: GuiClickEvent)
Link copied to clipboard
open override fun shouldCancel(clickEvent: GuiClickEvent): Boolean
Link copied to clipboard
open override fun startUsing(gui: Gui)
Link copied to clipboard
open override fun stopUsing(gui: Gui)