Biome choice for different world heights?

Hey there, not new to datapack worldgen stuff, but i've been trying to figure out a way to make biomes generate with some respect to the surface height, and so far, no luck. If I remember correctly, before like 1.17 you could tag a biome as "ocean" or something, and it would straight up push the surface down a couple y levels... well not anymore... I'm assuming I should use some noise shenanigans in the world noise settings, and then set the biome noise values to some threshold??? Pls give a direction to follow or ideally an example datapack that does this type of stuff :D Thanks
Continue to help post