diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-18 15:52:38 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-18 15:52:38 +0200 |
commit | 8a3174164b0ee3e902031d631c690ed555b74f05 (patch) | |
tree | 5d0a89011ed381f7223b93912504eeaaf5e16c4f /source/Chunk.h | |
parent | Enhancements to Tabcompletion and Compile Fix (diff) | |
download | cuberite-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.h | 2 |
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. */ |