summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-09-01 14:20:31 -0400
committerkwolekr <kwolekr@minetest.net>2014-09-01 15:12:22 -0400
commit9e4e7072da8f565eef37da7558053a436b9cbba3 (patch)
treed1bb4ac82b4a25880695aec4df163dd0002cd526 /doc/lua_api.txt
parent3fa4f782d90dac0d800251a9ab0f0afb9d32560c (diff)
downloadminetest-9e4e7072da8f565eef37da7558053a436b9cbba3.tar.gz
minetest-9e4e7072da8f565eef37da7558053a436b9cbba3.tar.bz2
minetest-9e4e7072da8f565eef37da7558053a436b9cbba3.zip
Update Mapgen VoxelManipulator on buffer invalidation
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 86c64f9be..46b789526 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2099,6 +2099,8 @@ methods:
^ To be used only by a VoxelManip object from minetest.get_mapgen_object
^ (p1, p2) is the area in which lighting is set; defaults to the whole area if left out
- update_liquids(): Update liquid flow
+- was_modified(): Returns true or false if the data in the voxel manipulator had been modified since
+ the last read from map, due to a call to minetest.set_data() on the loaded area elsewhere
VoxelArea: A helper class for voxel areas
- Can be created via VoxelArea:new{MinEdge=pmin, MaxEdge=pmax}