mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Add minetest.clear_registered_decorations() and clear_registered_ores()
This commit is contained in:
parent
cec141adc1
commit
cf8213ea82
12 changed files with 97 additions and 11 deletions
|
@ -99,7 +99,7 @@ public:
|
|||
static const char *ELEMENT_TITLE;
|
||||
static const size_t ELEMENT_LIMIT = 0x10000;
|
||||
|
||||
OreManager(IGameDef *gamedef) {}
|
||||
OreManager(IGameDef *gamedef);
|
||||
~OreManager() {}
|
||||
|
||||
Ore *create(int type)
|
||||
|
@ -116,6 +116,8 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void clear();
|
||||
|
||||
size_t placeAllOres(Mapgen *mg, u32 seed, v3s16 nmin, v3s16 nmax);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue