find_nodes_in_area_cache's People
Forkers
ogelgamesfind_nodes_in_area_cache's Issues
more potential caching
minetest_1 | 2020-06-22 08:53:41: ERROR[CurlFetch]: http://mapserver:8080/api/minetest not found (Couldn't resolve host name) (response code 0)
minetest_1 | [cache] non-cached call for nodenames {
minetest_1 | "default:lava_source",
minetest_1 | "default:lava_flowing",
minetest_1 | "default:water_source",
minetest_1 | "default:ice",
minetest_1 | "default:desert_sand",
minetest_1 | "default:sand",
minetest_1 | "default:jungletree",
minetest_1 | "group:leaves",
minetest_1 | "default:snowblock"
minetest_1 | }
minetest_1 | [cache] non-cached call for nodenames {
minetest_1 | "default:lava_source",
minetest_1 | "default:lava_flowing",
minetest_1 | "default:water_source",
minetest_1 | "default:ice",
minetest_1 | "default:desert_sand",
minetest_1 | "default:sand",
minetest_1 | "default:jungletree",
minetest_1 | "group:leaves",
minetest_1 | "default:snowblock"
minetest_1 | }
minetest_1 | [cache] non-cached call for nodenames {
minetest_1 | "fire:basic_flame",
minetest_1 | "fire:permanent_flame"
minetest_1 | }
minetest_1 | 2020-06-22 08:53:43: ERROR[CurlFetch]: http://mapserver:8080/api/minetest not found (Couldn't resolve host name) (response code 0)
minetest_1 | [cache] non-cached call for nodenames {
minetest_1 | "default:lava_source",
minetest_1 | "default:lava_flowing",
minetest_1 | "default:water_source",
minetest_1 | "default:ice",
minetest_1 | "default:desert_sand",
minetest_1 | "default:sand",
minetest_1 | "default:jungletree",
minetest_1 | "group:leaves",
minetest_1 | "default:snowblock"
minetest_1 | }
minetest_1 | 2020-06-22 08:53:44: ERROR[CurlFetch]: http://beerchat-proxy:8080 not found (Couldn't resolve host name) (response code 0)
minetest_1 | [cache] non-cached call for nodenames {
minetest_1 | "default:water_flowing",
minetest_1 | "default:river_water_flowing"
minetest_1 | }
minetest_1 | 2020-06-22 08:53:44: ERROR[Server]: [beerchat] http request to http://beerchat-proxy:8080 failed with code 0
minetest_1 | [cache] non-cached call for nodenames {
minetest_1 | "default:lava_source",
minetest_1 | "default:lava_flowing",
minetest_1 | "default:water_source",
minetest_1 | "default:ice",
minetest_1 | "default:desert_sand",
minetest_1 | "default:sand",
minetest_1 | "default:jungletree",
minetest_1 | "group:leaves",
minetest_1 | "default:snowblock"
minetest_1 | }
minetest_1 | [cache] cached call for nodenames {
minetest_1 | "protector:protect",
minetest_1 | "protector:protect2"
minetest_1 | }
support for the advtrains mod
local nodes = minetest.find_nodes_in_area(
{x = pos.x - npr_r, y = pos.y - npr_vr, z = pos.z - npr_r},
{x = pos.x + npr_r, y = pos.y + npr_vrd, z = pos.z + npr_r},
{"group:advtrains_track"})
Doesn't support grouped option (Minetest 5.4.0+)
minetest.find_nodes_in_area(pos1, pos2, nodenames, [grouped])
pos1
andpos2
are the min and max positions of the area to search.nodenames
: e.g.{"ignore", "group:tree"}
or"default:dirt"
- If
grouped
is true the return value is a table indexed by node name which contains lists of positions.- If
grouped
is false or absent the return values are as follows:
- first value: Table with all node positions
- second value: Table with the count of each node with the node name as index
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.