QcTerrainDefinitions::Pool Struct
struct QcTerrainDefinitions::PoolA pool of liquid with its blocks resolved: sunk into a cave floor (QcPoolPlacer), or a lake on the surface (QcSurfaceLakes). More...
Public Variables
| int | attempts |
| QSet<int> | biomes |
| double | chance |
| int | depth |
| QcBlockId | liquid |
| int | maxY |
| int | minY |
| int | radius |
| int | region |
| QcBlockId | rim |
| quint64 | seed |
| int | spacing |
| bool | surface |
Detailed Description
Member Variable Documentation
int Pool::attempts
Tries per chunk (cave pools) or chunks tried per square (lakes).
QSet<int> Pool::biomes
Biome indices it may lie in; empty for all.
double Pool::chance
The chance of each try (cave pools) or of each square (lakes).
int Pool::depth
How deep the basin is sunk into the cave floor (cave pools) or about how deep the liquid stands (lakes), in blocks.
QcBlockId Pool::liquid
The liquid.
int Pool::radius
The basin's radius (cave pools) or reach from its centre (lakes), in blocks.
quint64 Pool::seed
Seed of the pool's random values, derived from its name.
bool Pool::surface
A lake on the surface of dry land instead of a cave pool (decision E-856).