QtCraft API C++ classes QML types Handbook

QcShowcaseArmourArea Namespace

Every armour set of the registry on an armour stand (decision E-238), mod sets included, weakest first; each stand stands on a podium facing the visitors, with the set's name and armour points, and holds a bow, a pickaxe or a sword in turn (held items, decision E-831). More...

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

Functions

QcShowcaseArea build(const QcShowcaseContext &context, QcBlockPos anchor)
QStringList sets(const QcContentRegistry &content)

Detailed Description

Without armour in the content the area is empty (a single podium-less row).

Function Documentation

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

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

QStringList QcShowcaseArmourArea::sets(const QcContentRegistry &content)

Returns the armour sets of content in the order the area shows them: by armour points, then by name.