1
0
Fork 0
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:
kwolekr 2015-05-05 14:30:46 -04:00
parent b45df9d6a7
commit b785577f03
7 changed files with 89 additions and 20 deletions

View file

@ -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.