mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add core.find_nodes_with_meta() script API
This commit is contained in:
parent
b45df9d6a7
commit
b785577f03
7 changed files with 89 additions and 20 deletions
|
@ -301,7 +301,8 @@ public:
|
|||
These are basically coordinate wrappers to MapBlock
|
||||
*/
|
||||
|
||||
NodeMetadata* getNodeMetadata(v3s16 p);
|
||||
std::vector<v3s16> findNodesWithMetadata(v3s16 p1, v3s16 p2);
|
||||
NodeMetadata *getNodeMetadata(v3s16 p);
|
||||
|
||||
/**
|
||||
* Sets metadata for a node.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue