mirror of
https://github.com/minetest/minetest.git
synced 2025-06-30 23:20:22 +02:00
Add minetest.generate_ores() and minetest.generate_decorations()
This commit is contained in:
@ -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`
|
||||
|
Reference in New Issue
Block a user