I was experimenting with a datapack that only generates noise caves and aquifers on worlds with 256 layers and I noticed that in ocean biomes the caves are generated with the sea floor.
To reproduce
Install the datapack attached
Run the command /locatebiome lukewarm_ocean (or deep_ocean)
Go into spectator mode and observe the ocean floor generated in the caves.
Invalid. This is because the
min_surface_level
is set to0
in your example data pack. In the official caves & cliffs prototype data pack, this is set to50
. Either way this is all irrelevant now sincemin_surface_level
was removed in 21w37a with the introduction of surface rules.