1
0
Fork 0
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:
Jisk 2025-04-01 12:12:22 -05:00 committed by GitHub
parent 2569b50252
commit 0179021acc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.