QcVegetationLayer Struct
One layer of vegetation: the plants, their density per surface column (scattered by the generator), the size of the areas one kind grows in (patchSize blocks, 0: mixed column by column), and the patches. More...
| Header: | #include <common/content/worldgen/QcVegetationDefinition.h> |
Public Variables
Static Public Members
Detailed Description
Member Variable Documentation
double QcVegetationLayer::density
Density of the scattered plants per surface column ("density", 0 to 1).
const int QcVegetationLayer::maxPlants
Most entries accepted in "plants".
const int QcVegetationLayer::maxWeight
Largest accepted plant weight.
int QcVegetationLayer::patchSize
Size in blocks of the areas one kind grows in ("patchSize", 0 to 512); 0: mixed column by column.
QcVegetationPatches QcVegetationLayer::patches
Patches of a single plant kind ("patches").
QList<QcWeightedBlockName> QcVegetationLayer::plants
The weighted plant table ("plants", 1 to maxPlants entries): an entry of "plants" is a plain block name (weight 1) or an object with "block" and "weight" (1 to QcVegetationLayer::maxWeight).