mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Schematic: Add force_placement parameter to minetest.place_structure API
This commit is contained in:
parent
3570f3e396
commit
c163859057
4 changed files with 12 additions and 7 deletions
|
@ -313,7 +313,7 @@ public:
|
|||
void saveSchematicFile(INodeDefManager *ndef);
|
||||
|
||||
bool getSchematicFromMap(Map *map, v3s16 p1, v3s16 p2);
|
||||
void placeStructure(Map *map, v3s16 p);
|
||||
void placeStructure(Map *map, v3s16 p, bool force_placement);
|
||||
void applyProbabilities(v3s16 p0,
|
||||
std::vector<std::pair<v3s16, u8> > *plist,
|
||||
std::vector<std::pair<s16, u8> > *splist);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue