previousPage

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

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