Skip to content

Biomes ​

Biomes are regions with differing foliage, terrain etc.

NOTE

The seed used throughout all of these examples is 3257840388504953787, the seed behind pack.png.

Biome List ​

There exist 13 distinct biomes in Beta 1.7.3. They each have unique properties, mainly if they can show rain particles, if it can snow in them, and what their respective foliage and map colors are.

NameTop BlockFiller BlockRainSnowFoliage ColorMap Color
RainforestGrassDirt✅❌#1FF458#08FA36
SwamplandGrassDirt✅❌#8BAF48#07F9B2
Seasonal ForestGrassDirt✅❌#4EE031#9BE023
ForestGrassDirt✅❌#4EBA31#056621
SavannaGrassDirt✅❌#4EE031#D9E023
ShrublandGrassDirt✅❌#4EE031#A1AD20
TaigaGrassDirt✅✅#7BB731#2EB153
DesertSandSand❌❌#4EE031#FA9418
PlainsGrassDirt✅❌#4EE031#FFD910
Ice DesertSandSand❌✅#C4D339#FFED93
TundraGrassDirt✅✅#C4D339#57EBF9
HellGrassDirt❌❌#4EE031#FF0000
SkyGrassDirt❌❌#4EE031#8080FF

Lookup table ​

A 64x64 lookup table is generated to more quickly calculate the appropriate biome to use.

First we need to apply some of the temperature to the humidity.

h′=h⋅t

Then we determine the actual biome for that combination of temperature and humidity values, in a range from 0.0 to 1.0 on each axis.

B(t,h)={Tundra(h′<0.2∧t<0.5)∨(t<0.1)Savannah′<0.2∧0.5≤t<0.95Deserth′<0.2∧t≥0.95Swamplandh′>0.5∧t<0.7Taigah′≥0.2∧t<0.5Shrubland0.5≤t<0.97∧0.2≤h′<0.35Forest0.5≤t<0.97∧h′≥0.35Plainst≥0.97∧h′<0.45Seasonal Forestt≥0.97∧0.45≤h′<0.9Rainforestt≥0.97∧h′≥0.9

If mapped to an image, using the foliage/map colors, we get this.

Foliage ColorsMap Colors
Foliage ColorsMap Colors

Temperature is X, Humidity is Y. Range is from 0 to 63 (or 0.0 to 1.0) on both axes. Notch drew this graph back in 2011.

Biome Noise ​

The function which determines what biomes are used in a chunk is relatively simple. It mainly uses 3 instances of octaved simplex noise.

Initialization ​

The climate noise generators each get their own, independent PRNG object, initilizated with its own seed. Wseed represents the world seed.

PRNGSeed
TemperatureWseed⋅9871
HumidityWseed⋅39811
WeirdnessWseed⋅543321

Then, the noise generators are initialized.

GeneratorOctavesBase Scale (x,z)Octave Frequency Factor
Temperature4(0.025, 0.025)1/4
Humidity4(0.05, 0.05)1/3
Weirdness2(0.25, 0.25)10/17

The base scale and octave frequency factor remain the same throughout biome sampling, meaning that the only value that changes dynamically is the sampled position.

Sampling ​

The current Chunk Coordinate, scaled to Block-Space (multiplied by 16), is passed in, alongside how many values the generator should return (16x16 for one chunk) and a scaling factor.

Each of these return a 16x16 array of 64-bit floating point numbers, which're that chunks' initial temperature (Ctemp), humidity (Chumi) and weirdness (Cweird) values.

TemperatureHumidityWeirdness
Temperature mapHumidity mapWeirdness map

Temperature, humidity and weirdness values from chunk -1,-1 to 1,1. These values are in the 0.0 - 2.0 range.

The final biomes for each column are determined by iterating over the 16x16 array and performing the following actions for each entry.

w=1.1⋅Cweird+0.5t0=(0.15⋅Ctemp+0.7)⋅0.99+w⋅0.01h=(0.15⋅Chumi+0.5)⋅0.998+w⋅0.002t1=1−(1−t0)2Ctemp=min(1,max(0,t1))Chumi=min(1,max(0,h))

This gives you the temperature (Ctemp), humidity (Chumi) and weirdness (Cweird) values of the chunk. The final biome is then determined by mapping the calculated 0.0 to 1.0 value into the 64x64 biome LUT we calculated before.

Besides being used to determine the biome, temperature is used a few times throughout the overworld generation to determine where snow and ice are placed, so at least it must be kept past this point.

Both temperature and humidity must be kept for the accurate coloration of foliage.

The final biome map can look something like this over a 3x3 chunk area.

Foliage ColorsMap Colors
Biomes with foliage colorsBiomes with map colors

Due to being modified, the temperature and humidity now also contain different values that were written back to the temperature and humidity arrays.

TemperatureHumidityWeirdness
Temperature mapHumidity mapWeirdness map

Temperature, humidity and weirdness values from chunks -1,-1 to 1,1 after being modified by this function. These values are in the 0.0 - 2.0 range. Weirdness is not affected.

This is then passed to the Overworld Generator.

Further reading ​

Check out the page for the Overworld Generator.