QtCraft API C++ classes QML types Handbook

QcBlockEntityChecks Namespace

The rules between the blocks of a world and its block entities, checked in one place (decision E-357; tests call it after their scenarios, a broken rule is a bug). More...

Header: #include <server/blockentities/QcBlockEntityChecks.h>

Functions

QStringList problems(const QcServerWorld &world)

Detailed Description

The rules:

Only loaded chunks are compared with their blocks.

Function Documentation

QStringList QcBlockEntityChecks::problems(const QcServerWorld &world)

Returns every rule world breaks as a line naming the position; empty when all hold.