mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add core.spawn_tree_on_vmanip
(#15415)
This function works like `core.spawn_tree`, but spawns an L-system tree onto a VoxelManip object instead on the map.
This commit is contained in:
parent
8d43ad2522
commit
c7fe2ee5c9
9 changed files with 110 additions and 10 deletions
|
@ -6588,6 +6588,9 @@ Environment access
|
|||
on-the-fly
|
||||
* `core.spawn_tree (pos, {treedef})`
|
||||
* spawns L-system tree at given `pos` with definition in `treedef` table
|
||||
* `core.spawn_tree_on_vmanip(vmanip, pos, treedef)`
|
||||
* analogous to `core.spawn_tree`, but spawns a L-system tree onto the specified
|
||||
VoxelManip object `vmanip` instead of the map.
|
||||
* `core.transforming_liquid_add(pos)`
|
||||
* add node to liquid flow update queue
|
||||
* `core.get_node_max_level(pos)`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue