How can I achieve this terrain generation?
https://preview.redd.it/4dw0f8bszwbg1.jpg?width=1280&format=pjpg&auto=webp&s=126f88be3d4f759dd193899b850573fb55df36dc
# I had in mind generating a flat world with the default block being minecraft:snow_block, then depending on a custom noise, it will add minecraft:snow on top depending on the noise value.
# I had in mind generating a flat world with the default block being minecraft:snow_block, then depending on a custom noise, it will add minecraft:snow on top depending on the noise value.
Commentaires
*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/Minecraft) if you have any questions or concerns.*
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
In [Alpine Grove](https://github.com/Stardust-Labs-MC/Terralith/blob/1.20/data/terralith/worldgen/biome/alpine_grove.json) for example, there are five features done last, after the vanilla 'freeze_top_layer' feature. [Here are the snow layer ones](https://github.com/Stardust-Labs-MC/Terralith/tree/1.20/data/terralith/worldgen/placed_feature/snowy/layer) that generate [these configured features](https://github.com/Stardust-Labs-MC/Terralith/tree/1.20/data/terralith/worldgen/configured_feature/snowy/layer).
[See here for a couple of in-game screenshots](https://stardustlabs.miraheze.org/wiki/Alpine_grove). I can't say I know exactly how it works but basically the placed_feature files do some checks to decide which set of two layers should generate and then the configured features decide which of the two layers heights it will be.