|
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Go to the documentation of this file.
115 return static_cast<std::size_t
>(a_Biome);
bool IsBiomeNoDownfall(EMCSBiome a_Biome)
Returns true if the biome has no downfall - deserts and savannas.
int GetSnowStartHeight(EMCSBiome a_Biome)
Returns the height when a biome when a biome starts snowing.
bool IsBiomeMesa(EMCSBiome a_Biome)
Returns true if the biome is Mesa or one of its mutations.
bool IsBiomeOcean(int a_Biome)
Returns true if the biome is an ocean biome.
Hash for EMCSBiome, so that it can be used in std::unordered_map etc.
bool IsBiomeVeryCold(EMCSBiome a_Biome)
Returns true if the biome is very cold (has snow on ground everywhere, turns top water to ice,...
EMCSBiome
Biome IDs The first batch corresponds to the clientside biomes, used by MineCraft.
std::size_t operator()(const EMCSBiome a_Biome) const
bool IsBiomeCold(EMCSBiome a_Biome)
Returns true if the biome is cold (has snow and snowfall at higher elevations but not at regular heig...
bool IsBiomeMountain(EMCSBiome a_Biome)
Returns true if the biome is mountainous (mutations of the extreme hills biome)
EMCSBiome StringToBiome(const AString &a_BiomeString)
Translates a biome string to biome enum.
AString BiomeToString(int a_Biome)
Translates biome enum into biome string.