summaryrefslogtreecommitdiffstats
path: root/source/cChunk.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-07 23:07:21 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-07 23:07:21 +0200
commit876014b8e8941f6de69f07e3b4cc354e9bdf3e57 (patch)
treef6fab0234d43774675f4a4d69b3c711b6aaafb33 /source/cChunk.h
parentNightbuild: bindings are automatically update before the build (diff)
downloadcuberite-876014b8e8941f6de69f07e3b4cc354e9bdf3e57.tar
cuberite-876014b8e8941f6de69f07e3b4cc354e9bdf3e57.tar.gz
cuberite-876014b8e8941f6de69f07e3b4cc354e9bdf3e57.tar.bz2
cuberite-876014b8e8941f6de69f07e3b4cc354e9bdf3e57.tar.lz
cuberite-876014b8e8941f6de69f07e3b4cc354e9bdf3e57.tar.xz
cuberite-876014b8e8941f6de69f07e3b4cc354e9bdf3e57.tar.zst
cuberite-876014b8e8941f6de69f07e3b4cc354e9bdf3e57.zip
Diffstat (limited to '')
-rw-r--r--source/cChunk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cChunk.h b/source/cChunk.h
index 6fe4e77f7..3c01b08e5 100644
--- a/source/cChunk.h
+++ b/source/cChunk.h
@@ -235,6 +235,9 @@ private:
void TickMelonPumpkin(int a_RelX, int a_RelY, int a_RelZ, int a_BlockIdx, BLOCKTYPE a_BlockType, MTRand & a_TickRandom);
void TickFarmland (int a_RelX, int a_RelY, int a_RelZ);
+ /// Grows a melon or a pumpkin next to the block specified (assumed to be the stem)
+ void GrowMelonPumpkin(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType, MTRand & a_Random);
+
/// Same as GetBlock(), but relative coords needn't be in this chunk (uses m_ChunkMap in such a case); returns true on success; only usable in Tick()
bool UnboundedRelGetBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta);