summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-03-23 19:17:00 +0100
committerPilzAdam <pilzadam@minetest.net>2013-03-23 21:31:05 +0100
commit6f8d40ef5d24e26a70c7a0bdf6d2992e0bea9a63 (patch)
tree43aba97aee4585a675befd78bd93612cb6f96a46 /doc/lua_api.txt
parent2318d19bb4d8bd578069184614f4475b7aeb7743 (diff)
downloadminetest-6f8d40ef5d24e26a70c7a0bdf6d2992e0bea9a63.tar.gz
minetest-6f8d40ef5d24e26a70c7a0bdf6d2992e0bea9a63.tar.bz2
minetest-6f8d40ef5d24e26a70c7a0bdf6d2992e0bea9a63.zip
6d facedir
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index af8b1cc9a..3d47785ba 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -310,6 +310,10 @@ param2 is reserved for the engine when any of these are used:
paramtype2 == "facedir"
^ The rotation of the node is stored in param2. Furnaces and chests are
rotated this way. Can be made by using minetest.dir_to_facedir().
+ Values range 0 - 23
+ facedir modulo 4 = axisdir
+ 0 = y+ 1 = z+ 2 = z- 3 = x+ 4 = x- 5 = y-
+ facedir's two less significant bits are rotation around the axis
Nodes can also contain extra data. See "Node Metadata".