im making a zombie apocalypse server and i trying to make random generator for zombies. its been easy to make the random number generator but of course i dont want zombies spawning in blocks so i would add 1 to the y coordinate of the location of where zombies spawn but if its underground i would have to do this a lot so i need help figuring out a efficient way to do that. whoever reads this (if anyone does) thank you for spending time for reading and possibly responding.