QtCraft API C++ classes QML types Handbook

QcLocatedPlace Struct

A place /locate finds that is not a placed structure (decision E-911): the central room of a mine shaft, the room of a dungeon, the door of a coastal tower; for a mine shaft also where its way up comes out on the ground. More...

Header: #include <worldgen/generators/QcLocatedPlace.h>

Public Variables

QcBlockPos at
std::optional<QcBlockPos> entrance

Detailed Description

Member Variable Documentation

QcBlockPos QcLocatedPlace::at

The position of the place.

std::optional<QcBlockPos> QcLocatedPlace::entrance

Where a mine shaft's way up comes out on the ground; none for other places.