next Page
fun nextPage(slots: InventorySlotCompound<T>, icon: ItemStack, onChange: (GUIClickEvent<T>) -> Unit? = null)
Content copied to clipboard
fun nextPage(slots: InventorySlotCompound<T>, icon: ItemStack, shouldChange: (GUIClickEvent<T>) -> Boolean? = null, onChange: (GUIClickEvent<T>) -> Unit? = null)
Content copied to clipboard
This button always tries to find the next page if clicked, and if a next page exists it is loaded.