#How to fix flooded caves in Amplified styled World Gen [1.21.11]

5 messages · Page 1 of 1 (latest)

mild vault
#

been racking my head for quite a while now over this issue. in my overworld gen revamp, all caves roughly in the stone layer get filled with water, even if the cave entrance is completely land locked. to give context, my world gen revamp is basically a soft blend of vanilla, amplified and large biomes, and from my understanding this is a problem that stems from amplified worlds, which usually have completely flooded caves that mojang never got around to fixing. so it makes sense in my semi-amplified world gen the flooded caves persist down to a certain point, but of course, i dont want them to be that way

I found a project over on github that fixed this issue for amplified worlds but it was for an older version using the deprecated "initial_density_without_jaggedness" function, which got replaced with "preliminary_surface_level" sometime before 1.21.11 which I'm making my mod for. I've tried altering many different values in the preliminary surface level function to try and replicate what the other mod did but nothing seems to be giving me my desired effect. would anyone more savvy at world generation coding know how to go about fixing this issue? really happy with the tweaks ive made to the rest of world gen and this is the one thing holding it back from being perfect, would really appreciate the help :)

ill have linked both the repository of the mod I found that fixed the issue for reference, my repository of my mod, and also some of the relevant json files for easy access

FliegendeWurst's amplified_fixed: https://github.com/FliegendeWurst/amplified_fixed
my wip world_remoulded: https://github.com/astral-wayfarer727/world_remoulded

GitHub

Noise parameters to reduce flooded caves in amplified generation - FliegendeWurst/amplified_fixed

GitHub

A Minecraft Mod that overhauls the Overworld Generation, pulling inspiration from Amplified and Large Biomes - astral-wayfarer727/world_remoulded

spring wadi
#

This used to be done using cave air

#

Dunno if it still is

mild vault
#

yeeeah from what i can gather i think the old carver caves do use it but im not seeing anything about it in reference to the 1.18 caves

mild vault
#

got some additional info if it proves any useful, it seems that if theres enough landmass thats elevated a good bit from sea level it prevents the flooding, while areas closer to sea level including rivers and oceans or even low plains biomes get the caves flooded beneath them. will continue investigating