find_nodes_in_area_cache
a caching layer for minetest.find_nodes_in_area()
Caches all interactions to minetest.find_nodes_in_area()
on a per mapblock basis.
Also tracks node place and destroy calls, if the node was registered to be tracked (see "Api").
-- track these nodes and delegate to cached version of find_nodes_in_area
find_nodes_in_area_cache.register("protector:protect")
find_nodes_in_area_cache.register("protector:protect2")
find_nodes_in_area_cache.register("protector:protect_hidden")
Optional support for these mods:
protector
priv_protector
xp_redo
jumpdrive
vacuum
- Q: This is a big, ugly hack, wtf?
- A: Yes it is...
MIT