Can i change max height?

can i alter this code to change max height and how. im in 1.21.1
Continue to help post