mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
lua_api.md: MAX_WORKING_VOLUME is now 150 million
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user