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:
@@ -131,6 +131,9 @@ class ModApiMapgen : public ModApiBase
|
||||
// replacements, force_placement, flagstring)
|
||||
static int l_place_schematic_on_vmanip(lua_State *L);
|
||||
|
||||
// spawn_tree_on_vmanip(vmanip, pos, treedef)
|
||||
static int l_spawn_tree_on_vmanip(lua_State *L);
|
||||
|
||||
// serialize_schematic(schematic, format, options={...})
|
||||
static int l_serialize_schematic(lua_State *L);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user