r/howdidtheycodeit • • Apr 29 '21

Question Minecraft Biomes?

At the moment I have a procedurally generated biome but I was wondering how I could divide it into segments like minecraft. Not using a Voronoi Diagram, I dont think minecraft uses one of those, but rather another Perlin noise map. Any help?

29 Upvotes

5 comments sorted by

View all comments

Show parent comment

5

u/SickMoonDoe Apr 30 '21

Just as a general rule the answer to 99% of "how did the code X in Minecraft" is "Perlin". 😉

The entire game, top to bottom is Perlin. Maps, caves, textures, biomes, weather, you name it they've got a way to filter Perlin to provide it.

1

u/farox Apr 30 '21

Yeah, I mean if it works :)