Jump to content

Specific biome generation


Cyan

Recommended Posts

Hello,

 

So I have been trying with no avail to use the decorate function to make a nice looking biome, however I have ran into a problem. I can't really find a way to dictate where things are generated. So my question is, is there a way to make your generated mass spawn directly in the, oh say, the middle of the biome?

 

Thanks for any pointers!

Link to comment
Share on other sites

Hello,

 

So I have been trying with no avail to use the decorate function to make a nice looking biome, however I have ran into a problem. I can't really find a way to dictate where things are generated. So my question is, is there a way to make your generated mass spawn directly in the, oh say, the middle of the biome?

 

Thanks for any pointers!

 

The problem about this is that you can't get the size of a generated biome. You can force your generation so that it doesn't generate if it's too close to an other biome, but EXACTLY the middle of the biome is pretty impossible due to the fact that the world gen is pretty much randomized.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

Hello,

 

So I have been trying with no avail to use the decorate function to make a nice looking biome, however I have ran into a problem. I can't really find a way to dictate where things are generated. So my question is, is there a way to make your generated mass spawn directly in the, oh say, the middle of the biome?

 

Thanks for any pointers!

 

The problem about this is that you can't get the size of a generated biome. You can force your generation so that it doesn't generate if it's too close to an other biome, but EXACTLY the middle of the biome is pretty impossible due to the fact that the world gen is pretty much randomized.

You could take the average location of all the blocks in that biome... which would be a lengthy process, especially in Large Biomes. Or perhaps there is a "seed block"?

Alternatively, if you just don't want it to be too close to the edge, you could do a check on all blocks within a certain radius.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

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.

Guest
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.

Announcements



×
×
  • Create New...

Important Information

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