summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-18 16:58:27 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-18 16:58:27 +0200
commitfb32c28f8097db8a8d200888f40b1fca8ee71024 (patch)
treef9c3243c1260eb5fa30dceb20e1451a399573b21 /source/World.h
parentMade cPiston code more readable and configurable. (diff)
parentAdded checks to bail out if block entities are being pushed by a piston (diff)
downloadcuberite-fb32c28f8097db8a8d200888f40b1fca8ee71024.tar
cuberite-fb32c28f8097db8a8d200888f40b1fca8ee71024.tar.gz
cuberite-fb32c28f8097db8a8d200888f40b1fca8ee71024.tar.bz2
cuberite-fb32c28f8097db8a8d200888f40b1fca8ee71024.tar.lz
cuberite-fb32c28f8097db8a8d200888f40b1fca8ee71024.tar.xz
cuberite-fb32c28f8097db8a8d200888f40b1fca8ee71024.tar.zst
cuberite-fb32c28f8097db8a8d200888f40b1fca8ee71024.zip
Diffstat (limited to 'source/World.h')
-rw-r--r--source/World.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/World.h b/source/World.h
index 5d3de06d0..34e350a04 100644
--- a/source/World.h
+++ b/source/World.h
@@ -313,6 +313,7 @@ public:
// tolua_begin
void SetBlock (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
void FastSetBlock (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
+ void SetServerBlock (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
BLOCKTYPE GetBlock (int a_BlockX, int a_BlockY, int a_BlockZ);
NIBBLETYPE GetBlockMeta (int a_BlockX, int a_BlockY, int a_BlockZ);
void SetBlockMeta (int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_MetaData);