summaryrefslogtreecommitdiffstats
path: root/source/Chunk.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-18 15:52:38 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-18 15:52:38 +0200
commit8a3174164b0ee3e902031d631c690ed555b74f05 (patch)
tree5d0a89011ed381f7223b93912504eeaaf5e16c4f /source/Chunk.h
parentEnhancements to Tabcompletion and Compile Fix (diff)
downloadcuberite-8a3174164b0ee3e902031d631c690ed555b74f05.tar
cuberite-8a3174164b0ee3e902031d631c690ed555b74f05.tar.gz
cuberite-8a3174164b0ee3e902031d631c690ed555b74f05.tar.bz2
cuberite-8a3174164b0ee3e902031d631c690ed555b74f05.tar.lz
cuberite-8a3174164b0ee3e902031d631c690ed555b74f05.tar.xz
cuberite-8a3174164b0ee3e902031d631c690ed555b74f05.tar.zst
cuberite-8a3174164b0ee3e902031d631c690ed555b74f05.zip
Diffstat (limited to '')
-rw-r--r--source/Chunk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Chunk.h b/source/Chunk.h
index c4eeab6ae..61f11d6d5 100644
--- a/source/Chunk.h
+++ b/source/Chunk.h
@@ -148,6 +148,8 @@ public:
void GetBlockTypeMeta(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta);
void GetBlockInfo (int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_Meta, NIBBLETYPE & a_SkyLight, NIBBLETYPE & a_BlockLight);
+ void SetServerBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta );
+
/** Returns the chunk into which the specified block belongs, by walking the neighbors.
Will return self if appropriate. Returns NULL if not reachable through neighbors.
*/