Skip to content

Commit

Permalink
Doc: warn about node above pos2 that must be generated
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelysam committed Jan 14, 2024
1 parent 780aff1 commit 980178a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/lua_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6086,8 +6086,11 @@ Environment access
* 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.
* Nodes immediately above `pos2` must be generated (non-ignore). If the
mapgen does not over-generate 1 node up, consider offsetting `pos2.y`
by -1.
* Reads the mapgen object `biomemap` (see [Mapgen Objects]), that must be
already computed (ie. using `minetest.generate_biomes`)
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`.
Expand Down

0 comments on commit 980178a

Please sign in to comment.