diff options
author | QUSpilPrgm <QUSpilPrgm@users.noreply.github.com> | 2016-05-29 22:10:35 +0200 |
---|---|---|
committer | QUSpilPrgm <QUSpilPrgm@users.noreply.github.com> | 2016-06-03 15:45:49 +0200 |
commit | f1192c6860fc209509a414beaa4bbeaf87cfcb8d (patch) | |
tree | d299b6e8cd24f087f8bf5047cde858d4bcedbcf5 /src/ChunkMap.h | |
parent | Update Dispensers and let them act more like in Vanilla (diff) | |
download | cuberite-f1192c6860fc209509a414beaa4bbeaf87cfcb8d.tar cuberite-f1192c6860fc209509a414beaa4bbeaf87cfcb8d.tar.gz cuberite-f1192c6860fc209509a414beaa4bbeaf87cfcb8d.tar.bz2 cuberite-f1192c6860fc209509a414beaa4bbeaf87cfcb8d.tar.lz cuberite-f1192c6860fc209509a414beaa4bbeaf87cfcb8d.tar.xz cuberite-f1192c6860fc209509a414beaa4bbeaf87cfcb8d.tar.zst cuberite-f1192c6860fc209509a414beaa4bbeaf87cfcb8d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkMap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ChunkMap.h b/src/ChunkMap.h index b481e3c9b..8a604ac09 100644 --- a/src/ChunkMap.h +++ b/src/ChunkMap.h @@ -369,6 +369,9 @@ public: /** Grows a cactus present at the block specified by the amount of blocks specified, up to the max height specified in the config; returns the amount of blocks the cactus grew inside this call */ int GrowCactus(int a_BlockX, int a_BlockY, int a_BlockZ, int a_NumBlocksToGrow); + /** Grows a tall grass present at the block specified to a two tall grass; returns true if the grass grew */ + bool GrowTallGrass(int a_BlockX, int a_BlockY, int a_BlockZ); + /** Sets the blockticking to start at the specified block. Only one blocktick per chunk may be set, second call overwrites the first call */ void SetNextBlockTick(int a_BlockX, int a_BlockY, int a_BlockZ); |