diff options
author | 0ddlyoko <nathangiaco@hotmail.com> | 2020-11-06 17:54:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-06 17:54:01 +0100 |
commit | 672bb0457012612ef59502b33717ee789c4d6bfe (patch) | |
tree | 962a76ff85b12a868009fa01659122386e695d0e /src/World.cpp | |
parent | Ender Crytal Fix and report proper cmake file for luabindingscheck fail (#5017) (diff) | |
download | cuberite-672bb0457012612ef59502b33717ee789c4d6bfe.tar cuberite-672bb0457012612ef59502b33717ee789c4d6bfe.tar.gz cuberite-672bb0457012612ef59502b33717ee789c4d6bfe.tar.bz2 cuberite-672bb0457012612ef59502b33717ee789c4d6bfe.tar.lz cuberite-672bb0457012612ef59502b33717ee789c4d6bfe.tar.xz cuberite-672bb0457012612ef59502b33717ee789c4d6bfe.tar.zst cuberite-672bb0457012612ef59502b33717ee789c4d6bfe.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/World.cpp b/src/World.cpp index 3f9150527..561adc4d0 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -1801,36 +1801,6 @@ bool cWorld::GrowRipePlant(Vector3i a_BlockPos) -int cWorld::GrowCactus(int a_BlockX, int a_BlockY, int a_BlockZ, int a_NumBlocksToGrow) -{ - LOGWARNING("cWorld::GrowCactus is obsolete, use cWorld::GrowPlantAt instead"); - return m_ChunkMap->GrowPlantAt({a_BlockX, a_BlockY, a_BlockZ}); -} - - - - - -bool cWorld::GrowMelonPumpkin(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType) -{ - LOGWARNING("cWorld::GrowMelonPumpkin is obsolete, use cWorld::GrowPlantAt instead"); - return (m_ChunkMap->GrowPlantAt({a_BlockX, a_BlockY, a_BlockZ}, 16) > 0); // 8 stages for the stem, 8 attempts for the produce -} - - - - - -int cWorld::GrowSugarcane(int a_BlockX, int a_BlockY, int a_BlockZ, int a_NumBlocksToGrow) -{ - LOGWARNING("cWorld::GrowSugarcane is obsolete, use cWorld::GrowPlantAt instead"); - return m_ChunkMap->GrowPlantAt({a_BlockX, a_BlockY, a_BlockZ}, a_NumBlocksToGrow); -} - - - - - EMCSBiome cWorld::GetBiomeAt (int a_BlockX, int a_BlockZ) { return m_ChunkMap->GetBiomeAt(a_BlockX, a_BlockZ); |