How can I make biomes be generated?

So I have been working on a way to generate terrain similar to Minecraft’s. This would include different block colors, textures, and other features that makes up the biome, which I pretty much know how to do. The only problem I have is that I don’t really know how I can actually create those biomes randomly and also continue off of the existing terrain already generated without having it generate at the same spot the previous terrain was generated. Does anyone know how to do anything like this?


i think you can use region3 and then make some random region3 then replace all the blocks in that region3 with whatever biome it it

Ok I’ll try that. Thanks for your suggestion.