Skip to content

Commit f091de9

Browse files
committed
Biomes: Document xyz biome limits
1 parent 1a88c4b commit f091de9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

doc/lua_api.txt

+9-2
Original file line numberDiff line numberDiff line change
@@ -5114,9 +5114,16 @@ Definition tables
51145114
node_riverbed = "default:gravel",
51155115
depth_riverbed = 2,
51165116
-- ^ Node placed under river water and thickness of this layer.
5117-
y_min = 1,
51185117
y_max = 31000,
5119-
-- ^ Lower and upper limits for biome.
5118+
y_min = 1,
5119+
-- ^ Upper and lower limits for biome.
5120+
-- ^ Alternatively you can use xyz limits as shown below.
5121+
max_pos = {x = 31000, y = 128, z = 31000},
5122+
min_pos = {x = -31000, y = 9, z = -31000},
5123+
-- ^ xyz limits for biome, an alternative to using 'y_min' and 'y_max'.
5124+
-- ^ Biome is limited to a cuboid defined by these positions.
5125+
-- ^ Any x, y or z field left undefined defaults to -31000 in 'min_pos' or
5126+
-- ^ 31000 in 'max_pos'.
51205127
vertical_blend = 8,
51215128
-- ^ Vertical distance in nodes above 'y_max' over which the biome will
51225129
-- ^ blend with the biome above.

0 commit comments

Comments
 (0)