nextPage

fun nextPage(slots: GuiSlotCompound, icon: GuiIcon, shouldChange: suspend (GuiClickEvent) -> Boolean = { true }, onChange: suspend (GuiClickEvent) -> Unit? = null)(source)

Adds a page change button, which will open the next page when clicked.