Jump to content

How to force certain biomes to only spawn adjacent to certain other biomes?


Recommended Posts

I'm in the planning stages for a mod that intends to eventually convert the Overworld dimension into a modern "human-influenced" landscape of wilderness, rural, suburban and urban biomes that flow seamlessly into one another ("Urban" biomes would only spawn next to other urban biomes or suburban biomes, suburban biomes would provide broad buffers between urban and rural biomes, and large rural biomes would eventually give way to occasional vanilla-style wilderness biomes). Generating the structures necessary for these biomes has already been taken care of, but I currently have no clue how to create this wilderness->urban->wilderness gradient that would effectively force certain biomes to spawn next to other certain biomes. I know this can be done because, well, beaches. I just don't see in the source how it happens. Can anyone here explain a procedure for getting this to work?


As a side note, I've read that world generation is based on a combination of lots of scaling/fractalization (X and Z) and perlin noise (Y, some X and Z), which seems to suggest that the shapes of biomes can't easily be controlled. Is there a way around this? Is there any easy way of getting a biome to spawn as a rough rectangle or other polygon?


Thanks, any answers much appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.