diff --git a/doc/lua_api.md b/doc/lua_api.md index e785476bd6e3b..8ce929ccd9d43 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -6079,8 +6079,15 @@ Environment access * The initial data in `vm` may only contain air, stone, water and river water nodes (see [Essential aliases]). Other nodes are ignored. * Also populates the mapgen objects `heatmap`, `humiditymap` and `biomemap` - (see [Mapgen objects]), so that `minetest.generate_decorations` and - `minetest.generate_ores` will take them into account. + (see [Mapgen objects]), so that `minetest.generate_decorations`, + `minetest.generate_ores` and `minetest.generate_biome_dust` will take + them into account. +* `minetest.generate_biome_dust(vm, pos1, pos2)` + * Generate the `node_dust` of the biome (see [Biome definition]) within the + VoxelManip `vm` and in the area from `pos1` to `pos2`. + * `pos1` and `pos2` should have the same X and Z size than mapgen chunks. + * Reads the mapgen object `biomemap` (see [Mapgen Objects]), that must be + already computed (ie. using `minetest.generate_biomes`) * `minetest.clear_objects([options])` * Clear all objects in the environment * Takes an optional table as an argument with the field `mode`.