After creating a Caves buffet with Ocean biome, no Kelp is generated, and yet Seagrass is successfully generated, but only within Flooded Caves. Equivalently, Warm Ocean doesn't generate Coral.
Comments 4
I'd expect the lava oceans of the nether to be water oceans in the overworld using the Caves buffet. so I don't think it makes sense.
I found the issue. Kelp and possibly coral (it's currently hardcoded) generate with OCEAN_FLOOR_WG
, which checks for the highest non-fluid and non-air block. It means that if your world has a ceiling, such features won't generate.
If you disable the ceiling in a caves world with bedrock_roof_position
and a negative top_slide
, kelp and corals will generate properly.
This issue can be fixed by calculating OCEAN_FLOOR_WG
from sea_level
, instead of from the top of the world.
Edit: confirmed in 21w16a.
Doesn't this make sense? With the default generation, only sea grass spawns in caves below oceans, but not corals or kelp. There's no actual sea floor in caves buffets.