QcShowcaseDefinition Struct
Settings of the showcase world (worldgen/showcase.json, decision E-220): the flat ground, the time of day, the blocks of podiums, enclosures and item chests, the lookout structure and the categories that sort every block of the registry onto podiums. More...
| Header: | #include <common/content/worldgen/QcShowcaseDefinition.h> |
Public Types
| struct | Layer |
Public Variables
| QList<QcShowcaseCategory> | categories |
| QString | container |
| QString | enclosure |
| QList<QcShowcaseDefinition::Layer> | layers |
| QString | lookout |
| QString | podium |
| int | rowWidth |
| double | timeOfDay |
Static Public Members
| const int | maxCategories |
| const int | maxLayers |
Detailed Description
A later pack replaces the whole object.
Member Variable Documentation
QList<QcShowcaseCategory> QcShowcaseDefinition::categories
Categories in order; a block goes to the first that matches, else to the last one.
QString QcShowcaseDefinition::container
Container block of the item chests ("container", default chest).
QString QcShowcaseDefinition::enclosure
Block of the enclosures around shown blocks and mob pens ("enclosure", default glass).
QList<QcShowcaseDefinition::Layer> QcShowcaseDefinition::layers
From the bottom up; the top layer is the ground players walk on.
QString QcShowcaseDefinition::lookout
Structure placed in front of every area as a lookout; empty for none.
const int QcShowcaseDefinition::maxCategories
Most entries accepted in "categories".
const int QcShowcaseDefinition::maxLayers
Most entries accepted in "layers".
QString QcShowcaseDefinition::podium
Block of the podiums ("podium", default stone).
int QcShowcaseDefinition::rowWidth
Areas are put side by side in rows of at most this width (metres).
double QcShowcaseDefinition::timeOfDay
Seconds after sunrise (QcDayCycle: 150 s is noon); the time stands still.