mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Add minetest.generate_ores() and minetest.generate_decorations()
This commit is contained in:
parent
a92c083011
commit
bdcf03ae36
9 changed files with 93 additions and 37 deletions
|
@ -1851,6 +1851,10 @@ and `minetest.auth_reload` call the authetification handler.
|
|||
* Sets the noiseparams setting of `name` to the noiseparams table specified in `noiseparams`.
|
||||
* `set_default` is an optional boolean (default: `true`) that specifies whether the setting
|
||||
should be applied to the default config or current active config
|
||||
* `minetest.generate_ores(vm)`
|
||||
* Generate all registered ores within the VoxelManip specified by `vm`.
|
||||
* `minetest.generate_decorations(vm)`
|
||||
* Generate all registered decorations within the VoxelManip specified by `vm`.
|
||||
* `minetest.clear_objects()`
|
||||
* clear all objects in the environments
|
||||
* `minetest.line_of_sight(pos1, pos2, stepsize)`: returns `boolean, pos`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue