QtCraft API C++ classes QML types Handbook

QcOreDefinition Struct

Ore veins of the terrain generator (an ore file of a pack): compact clumps of block grown inside one chunk, replacing only replaces. More...

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

Public Variables

QList<QString> biomes
QString block
int maxY
int minY
QString name
QString replaces
int veinSize
int veinsPerChunk

Detailed Description

Member Variable Documentation

QList<QString> QcOreDefinition::biomes

Biomes a vein may lie in (the biome of the column where it starts); empty for all (decision E-453: infested stone only in the mountains).

QString QcOreDefinition::block

The ore block ("block", required).

QString QcOreDefinition::name

Qualified name ("name").

QString QcOreDefinition::replaces

The block a vein replaces ("replaces"); empty: the terrain's stone block.

int QcOreDefinition::veinSize

Blocks of a vein at most ("veinSize", 1 to 64).

int QcOreDefinition::veinsPerChunk

Veins per chunk ("veinsPerChunk", 0 to 256).