nextPage

fun nextPage(slots: InventorySlotCompound<T>, icon: ItemStack, onChange: (GUIClickEvent<T>) -> Unit? = null)

This button always tries to find the next page if clicked, and if a next page exists it is loaded.