QtCraft API C++ classes QML types Handbook

QcShowcaseVillageArea Namespace

Every village style of the registry (decision E-403), mod styles included: one row per style with its well, its lamp post and each of its buildings once, doors to a road in front, each labelled with its title and style. More...

Header: #include <worldgen/showcase/QcShowcaseVillageArea.h>

Functions

QcShowcaseArea build(const QcShowcaseContext &context, QcBlockPos anchor)
bool hasStyles(const QcContentRegistry &content)

Detailed Description

Function Documentation

QcShowcaseArea QcShowcaseVillageArea::build(const QcShowcaseContext &context, QcBlockPos anchor)

Returns the area built for context with its south west corner on the ground at anchor (QcShowcaseAreaBuilder).

bool QcShowcaseVillageArea::hasStyles(const QcContentRegistry &content)

Returns whether content has a village style to show.