QtCraft API C++ classes QML types Handbook

QcVegetationDefinition Struct

The grass and flowers of a biome (decision E-814): two weighted tables of plant blocks. More...

Header: #include <common/content/worldgen/QcVegetationDefinition.h>

Public Variables

QcVegetationLayer flowers
QcVegetationLayer grass

Detailed Description

Used by the world generator for the surface vegetation and by bone meal on a block that growsVegetation (grass) for the plants it spreads. Server side only.

Member Variable Documentation

QcVegetationLayer QcVegetationDefinition::flowers

Flowers: one plant in eight that bone meal grows.

QcVegetationLayer QcVegetationDefinition::grass

Short grass and ferns: most of what bone meal grows.