mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Expose mapgen parameters on scripting init
Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
This commit is contained in:
parent
ff3cfb746e
commit
5e2753c712
9 changed files with 97 additions and 86 deletions
|
@ -34,8 +34,6 @@ public:
|
|||
void environment_Step(float dtime);
|
||||
// After generating a piece of map
|
||||
void environment_OnGenerated(v3s16 minp, v3s16 maxp,u32 blockseed);
|
||||
// After initializing mapgens
|
||||
void environment_OnMapgenInit(MapgenParams *mgparams);
|
||||
|
||||
//called on player event
|
||||
void player_event(ServerActiveObject* player, std::string type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue