Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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!

Looking at downfall, it seems like it affects how often it rains, the color of the grass/foliage. (Seems like anything more than 0.85F is considered high humidity) 

Scale maybe is how big a biome would be? Not too sure.

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

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.