virtual void Initialize(cIniFile &a_IniFile)
Called to initialize the generator on server startup.
eDimension
Dimension of a world.
virtual EMCSBiome GetBiomeAt(int a_BlockX, int a_BlockZ)
Returns the biome at the specified coords.
virtual void Generate(cChunkDesc &a_ChunkDesc)=0
Does the actual chunk generation.
int m_Seed
The main seed, read from the INI file, used for the entire generator.
EMCSBiome
Biome IDs The first batch corresponds to the clientside biomes, used by MineCraft.
eDimension m_Dimension
The dimension, read from the INI file.
virtual void GenerateBiomes(cChunkCoords a_ChunkCoords, cChunkDef::BiomeMap &a_BiomeMap)=0
Generates the biomes for the specified chunk.
static std::unique_ptr< cChunkGenerator > CreateFromIniFile(cIniFile &a_IniFile)
Creates and initializes the entire generator based on the settings in the INI file.
int GetSeed(void) const
Returns the seed that was read from the INI file.
virtual ~cChunkGenerator()
EMCSBiome BiomeMap[Width *Width]
The type used for any biomemap operations and storage inside Cuberite, using Cuberite biomes (need no...
The interface that all chunk generators must implement to provide the generated chunks.