summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.h
diff options
context:
space:
mode:
authormathiascode <mail@mathias.is>2020-04-04 16:00:47 +0200
committermathiascode <mail@mathias.is>2020-04-04 16:00:47 +0200
commitb8165aebd488b6e4cbfbefb9bb899a811668c8ca (patch)
tree835857a8820062d3b5aa55878ba2a833afdaad07 /src/Generating/FinishGen.h
parentImplement wither skeletons (#4563) (diff)
downloadcuberite-b8165aebd488b6e4cbfbefb9bb899a811668c8ca.tar
cuberite-b8165aebd488b6e4cbfbefb9bb899a811668c8ca.tar.gz
cuberite-b8165aebd488b6e4cbfbefb9bb899a811668c8ca.tar.bz2
cuberite-b8165aebd488b6e4cbfbefb9bb899a811668c8ca.tar.lz
cuberite-b8165aebd488b6e4cbfbefb9bb899a811668c8ca.tar.xz
cuberite-b8165aebd488b6e4cbfbefb9bb899a811668c8ca.tar.zst
cuberite-b8165aebd488b6e4cbfbefb9bb899a811668c8ca.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/FinishGen.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h
index b6edce84f..d551eb0a7 100644
--- a/src/Generating/FinishGen.h
+++ b/src/Generating/FinishGen.h
@@ -447,39 +447,6 @@ protected:
-/** This class populates generated chunks with packs of biome-dependant animals
-Animals: cows, sheep, pigs, mooshrooms, squid, horses, wolves, ocelots */
-class cFinishGenPassiveMobs :
- public cFinishGen
-{
-public:
-
- cFinishGenPassiveMobs(int a_Seed, cIniFile & a_IniFile, eDimension a_Dimension);
-
-protected:
-
- /** The noise used as the source of randomness */
- cNoise m_Noise;
-
- /** Chance, [0..100], that an animal pack will be generated in a chunk */
- int m_AnimalProbability;
-
-
- // cFinishGen override:
- virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
-
- /** Returns false if an animal cannot spawn at given coords, else adds it to the chunk's entity list and returns true */
- bool TrySpawnAnimals(cChunkDesc & a_ChunkDesc, int x, int y, int z, eMonsterType AnimalToSpawn);
-
- /** Picks a random animal from biome-dependant list for a random position in the chunk.
- Returns the chosen mob type, or mtInvalid if no mob chosen. */
- eMonsterType GetRandomMob(cChunkDesc & a_ChunkDesc);
-} ;
-
-
-
-
-
/** Base class for generators that have an ore list attached to them.
Provides the storage and parsing for the ore list, as well as the generic plumbing for generating individual ores.
Descendants should override GenerateOre() to provide the specific ore generation technique.