mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
lua_api.md: MAX_WORKING_VOLUME is now 150 million
This commit is contained in:
parent
2569b50252
commit
0179021acc
1 changed files with 2 additions and 2 deletions
|
@ -6475,12 +6475,12 @@ Environment access
|
||||||
first value: Table with all node positions
|
first value: Table with all node positions
|
||||||
second value: Table with the count of each node with the node name
|
second value: Table with the count of each node with the node name
|
||||||
as index
|
as index
|
||||||
* Area volume is limited to 4,096,000 nodes
|
* Area volume is limited to 150,000,000 nodes
|
||||||
* `core.find_nodes_in_area_under_air(pos1, pos2, nodenames)`: returns a
|
* `core.find_nodes_in_area_under_air(pos1, pos2, nodenames)`: returns a
|
||||||
list of positions.
|
list of positions.
|
||||||
* `nodenames`: e.g. `{"ignore", "group:tree"}` or `"default:dirt"`
|
* `nodenames`: e.g. `{"ignore", "group:tree"}` or `"default:dirt"`
|
||||||
* Return value: Table with all node positions with a node air above
|
* Return value: Table with all node positions with a node air above
|
||||||
* Area volume is limited to 4,096,000 nodes
|
* Area volume is limited to 150,000,000 nodes
|
||||||
* `core.get_perlin(noiseparams)`
|
* `core.get_perlin(noiseparams)`
|
||||||
* Return world-specific perlin noise.
|
* Return world-specific perlin noise.
|
||||||
* The actual seed used is the noiseparams seed plus the world seed.
|
* The actual seed used is the noiseparams seed plus the world seed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue