Age | Commit message (Collapse) | Author |
|
|
|
|
|
This simplifies NodeResolver logic and makes some interfaces cleaner.
|
|
|
|
|
|
|
|
NodeResolver name lists now belong to the NodeResolver object instead of
the associated NodeDefManager. In addition to minimizing unnecessary
abstraction and overhead, this move permits NodeResolvers to look up nodes
that they had previously set pending for resolution. So far, this
functionality has been used in the case of schematics for
serialization/deserialization.
|
|
|
|
work when not loading mods
|
|
|
|
- General code cleanup
- Unified object creation and loading
- Specifying objects in APIs is now orthogonal (i.e. anything can take an ID,
name string, or the raw table definition (and automatically registers if present
|
|
Add core.clear_registered_schematics() and refactor schematics somewhat
|
|
|
|
|
|
This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.
|
|
|
|
|
|
|
|
Add schematic decoration force placement flag
|
|
|
|
|
|
which touch air. This permit to massively improve performance for mods like plantlife
|
|
changes
|
|
Rebased by Zeno- (conflict in lua_api.txt)
|
|
|
|
|
|
|
|
Also add a Lua API and chatcommand for this
|
|
functions too
|
|
with attenuation and is essential for a light source to spread it's light
|
|
|
|
|
|
|
|
|
|
Just Markdown, no variant of it. File name intentionally
not changed to “lua_api.md” because of fear to break references
to that file. The file can still be renamed later.
|
|
|
|
Add minetest.get_mapgen_params()
Deprecate minetest.register_on_mapgen_init()
|
|
|
|
set_metadata
|
|
Also set default height_min/height_max to -31000 and 31000,
respectively, for ore and biomes
|
|
|
|
|
|
|
|
|
|
format example
|
|
|
|
NoiseParams to lua_api.txt
|
|
|
|
Add support for notify-on-decoration
Clean up mapgen constructors
Clean up mapgen.cpp code style somewhat
Remove trailing whitespace from some files
|
|
|