diff options
author | paramat <paramat@users.noreply.github.com> | 2018-03-07 23:55:17 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2018-03-09 03:16:25 +0000 |
commit | f091de9a2fb0e6d5861999705b9a555f07e02265 (patch) | |
tree | 43374899da4b718dbab455d67538f8e50237d255 /doc | |
parent | 1a88c4b7a5d2c35b125f45d0fbdf3f365a6a76b3 (diff) | |
download | minetest-f091de9a2fb0e6d5861999705b9a555f07e02265.tar.gz minetest-f091de9a2fb0e6d5861999705b9a555f07e02265.tar.bz2 minetest-f091de9a2fb0e6d5861999705b9a555f07e02265.zip |
Biomes: Document xyz biome limits
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index fa9d53cc1..570906a89 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -5114,9 +5114,16 @@ Definition tables node_riverbed = "default:gravel", depth_riverbed = 2, -- ^ Node placed under river water and thickness of this layer. - y_min = 1, y_max = 31000, - -- ^ Lower and upper limits for biome. + y_min = 1, + -- ^ Upper and lower limits for biome. + -- ^ Alternatively you can use xyz limits as shown below. + max_pos = {x = 31000, y = 128, z = 31000}, + min_pos = {x = -31000, y = 9, z = -31000}, + -- ^ xyz limits for biome, an alternative to using 'y_min' and 'y_max'. + -- ^ Biome is limited to a cuboid defined by these positions. + -- ^ Any x, y or z field left undefined defaults to -31000 in 'min_pos' or + -- ^ 31000 in 'max_pos'. vertical_blend = 8, -- ^ Vertical distance in nodes above 'y_max' over which the biome will -- ^ blend with the biome above. |