waterPoint

public static Location waterPoint(Location center, double radius, double minDepth, double maxDepth)

A spot in water within radius of center, between minDepth and maxDepth below the topmost water the column's scan finds. The scan runs from 4 blocks above center's block to 12 below and skips solid blocks above center's height, so water over a ceiling still counts; ground at or below that height ends the column. Columns are spread evenly over the area within radius. Null when no water is found near center's height, or in an unloaded chunk.