minetest.spawn_tree
Jump to navigation
Jump to search
Syntax
minetest.spawn_tree(pos, tree)
Description
Spawns an L-system tree at position pos
, using the tree definition tree
.
See treegen for a description of L-system trees.
Notes
VanessaE's plants_lib mod (github) provides functions to register L-system trees to be spawned during map generation, and finds places for them to spawn based on the map seed and biome.
This article is missing examples. Feel free to add them. |