summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-02 16:01:37 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-02 16:01:37 +0100
commite4b2502896febbbf1d53fee1970e973bc6afde04 (patch)
treecaa595d1275ec844c8d89ae037a95991f465d5a6 /src/World.h
parentUse switch in GetStepSound (diff)
downloadcuberite-e4b2502896febbbf1d53fee1970e973bc6afde04.tar
cuberite-e4b2502896febbbf1d53fee1970e973bc6afde04.tar.gz
cuberite-e4b2502896febbbf1d53fee1970e973bc6afde04.tar.bz2
cuberite-e4b2502896febbbf1d53fee1970e973bc6afde04.tar.lz
cuberite-e4b2502896febbbf1d53fee1970e973bc6afde04.tar.xz
cuberite-e4b2502896febbbf1d53fee1970e973bc6afde04.tar.zst
cuberite-e4b2502896febbbf1d53fee1970e973bc6afde04.zip
Diffstat (limited to '')
-rw-r--r--src/World.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index 4b74f7aba..ec6805dcf 100644
--- a/src/World.h
+++ b/src/World.h
@@ -342,6 +342,12 @@ public:
/** Sets the command block command. Returns true if command changed. */
bool SetCommandBlockCommand(int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Command); // tolua_export
+ /** Is the trapdoor open? */
+ bool IsTrapdoorOpen(int a_BlockX, int a_BlockY, int a_BlockZ); // tolua_export
+
+ /** Set the state of a trapdoor */
+ bool SetTrapdoorOpen(int a_BlockX, int a_BlockY, int a_BlockZ, bool a_Open); // tolua_export
+
/** Regenerate the given chunk: */
void RegenerateChunk(int a_ChunkX, int a_ChunkZ); // tolua_export