Jump to content

[1.15.2] Biome builder methods


Ugdhar

Recommended Posts

So I've been tinkering with Biomes recently, and I'm wondering if anyone has any insight into the methods used by the biome builder, in regards to what they do/how they affect biomes spawning.

Example taken from PlainsBiome:

.depth(0.125F)
.scale(0.05F)
.temperature(0.8F)
.downfall(0.4F)
.waterColor(4159204)
.waterFogColor(329011)
.parent((String)null));

Looking at code and what different biomes set these values to, I've come up with some guesses for a couple.

 

depth - Oceans have -1.0, Mountains have 1.0, Rivers are -0.5, with other biomes being between 0 and 0.2, so based on what elevations you want a biome to show up in would affect what you put for this value.

scale - not sure

temperature - Desert is 2.0, and "Frozen" biomes are 0, and other biomes seem to be just under 1.0, which I would imagine is "average temp"

downfall - not sure.

 

Any more information anyone has on this, feel free to chime in! :) Thanks for any and all input!

Link to comment
Share on other sites

I'm curious about them as well. It seems like temperature is use to interact with other things such as snow golem. Also I don't think the scale represents the size when most of the biomes has value of 0.2f (even small end islands), but only ocean has 0.1f.

 

Edit:

I think you may be right that the scale may represent the "thickness" of the biome surface, since plain has 0.05 as mentioned, beach has 0.025, and tall biomes such as mountains (0.5), snowy mountains(0.3) have higher scale, maybe it represents the average of blocks of the the surface of the biome has in a certain location, such as ?? blocks in (0, x, 0).     Pure guessing

Edited by poopoodice
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.