Can you make features generate only on specific Y levels?

My world is filled with water up to Y=140 and I want to prevent certain trees from generating above that

Continue to help post