diff options
author | kwolekr <kwolekr@minetest.net> | 2015-05-05 14:30:46 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-05-05 16:21:59 -0400 |
commit | b785577f03d00c83236782876def4c900edbba4e (patch) | |
tree | 389f3baa9e4b3d6abcab1d752a248bcdc933b52d /src/map.h | |
parent | b45df9d6a73d97671cbdd38d77e9b153a80fb458 (diff) | |
download | minetest-b785577f03d00c83236782876def4c900edbba4e.tar.gz minetest-b785577f03d00c83236782876def4c900edbba4e.tar.bz2 minetest-b785577f03d00c83236782876def4c900edbba4e.zip |
Add core.find_nodes_with_meta() script API
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 3 |
1 files changed, 2 insertions, 1 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. |