summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.h
diff options
context:
space:
mode:
authorp-mcgowan <mickeymcgowan@shaw.ca>2014-12-01 20:44:20 +0100
committerp-mcgowan <mickeymcgowan@shaw.ca>2014-12-01 20:44:20 +0100
commitcb584a87bd8336d590941cec0c204cbf75ab53eb (patch)
tree507e8fe1afe6c584355f7d0921d1555bec3f986c /src/Generating/FinishGen.h
parentMerge pull request #1636 from mc-server/MineshaftSpawners (diff)
downloadcuberite-cb584a87bd8336d590941cec0c204cbf75ab53eb.tar
cuberite-cb584a87bd8336d590941cec0c204cbf75ab53eb.tar.gz
cuberite-cb584a87bd8336d590941cec0c204cbf75ab53eb.tar.bz2
cuberite-cb584a87bd8336d590941cec0c204cbf75ab53eb.tar.lz
cuberite-cb584a87bd8336d590941cec0c204cbf75ab53eb.tar.xz
cuberite-cb584a87bd8336d590941cec0c204cbf75ab53eb.tar.zst
cuberite-cb584a87bd8336d590941cec0c204cbf75ab53eb.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/FinishGen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h
index d45365683..16128efa5 100644
--- a/src/Generating/FinishGen.h
+++ b/src/Generating/FinishGen.h
@@ -149,6 +149,9 @@ protected:
/// Tries to place sugarcane at the coords specified, returns true if successful
bool TryAddSugarcane(cChunkDesc & a_ChunkDesc, int a_RelX, int a_RelY, int a_RelZ);
+ // Checks if biome is a desert to spawn cacti as opposed to just sand
+ bool IsDesertVariant(EMCSBiome a_biome);
+
// cFinishGen override:
virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
} ;