minetest.register biome

The Biome API is still in an experimental phase and subject to change.

Description
Registers a new biome. The biome properties are specified in the Biome definition (see below).

Biome definition
The biome definition is a regular Lua table: Valid fields are: Limits are relative to y = water_level - 1. Because biome is not recalculated for every node in a node column some biome materials can exceed their limits, especially stone. For each node column in a mapchunk, biome is only recalculated at column top and at each of these surfaces: Ground below air, water below air, ground below water. The selected biome then stays in effect for all nodes below until column base or the next biome recalculation. Characteristic average temperature and humidity create 'biome points' on a voronoi diagram that has heat and humidity as axes. The resulting voronoi cells determine which heat/humidity points belong to which biome, and therefore determine the area and location of each biome in the world. The biome points need to be carefully and evenly spaced on the voronoi diagram to result in roughly equal size biomes. Heat and humidity have average values of 50, vary mostly between 0 and 100 but also often exceed these values. Heat is not in degrees celcius, both values are abstract.
 * — Biome name.
 * — Node dropped onto upper surface after all else is generated.
 * — Node forming surface layer of biome.
 * — Thickness of the surface layer of biome.
 * — Node forming lower layer of biome.
 * — Thickness of the lower layer of biome.
 * — Node that replaces all stone nodes between roughly y_min and y_max.
 * — Node forming a surface layer in seawater.
 * — Thickness of the surface layer in seawater.
 * — Node that replaces all seawater nodes not in the defined surface layer.
 * — Node that replaces river water in mapgens that use default:river_water.
 * — Node placed under river water.
 * — Thickness of layer under river water.
 * — Lower limit for biome.
 * — Upper limit for biome.
 * — Characteristic average temperature for the biome.
 * — Characteristic average humidity for the biome.