diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-08 16:17:33 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-08 16:17:33 +0200 |
commit | 6d36a82e190525f895bc93588d2e81f220ab5f5b (patch) | |
tree | a56da114a27e23dc99369a3145983754f3609e25 /source/cChunk.h | |
parent | Simplify ifdef. Makes compiling possible on BSD (diff) | |
download | cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.gz cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.bz2 cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.lz cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.xz cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.tar.zst cuberite-6d36a82e190525f895bc93588d2e81f220ab5f5b.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cChunk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cChunk.h b/source/cChunk.h index 3c01b08e5..d5bc5675e 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 sugarcane by the specified number of blocks, but no more than 3 blocks high (used by both bonemeal and ticking)
+ void GrowSugarcane (int a_RelX, int a_RelY, int a_RelZ, int a_NumBlocks);
+
/// 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);
|