nextPage

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

fun nextPage(slots: InventorySlotCompound<T>, itemStack: ItemStack, onChange: (InventoryGUIClickEvent<T>) -> Unit?)