previousPage

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

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