QtCraft API C++ classes QML types Handbook

QcContentReferences Namespace

Names the loaded content refers to that no pack provides, checked by QcModLoader after loading the mods: items, textures, sounds, blocks and creatures named by recipes, drops, creatures, appearances, blocks, carts and items, and the targets and subjects of world options. More...

Header: #include <worlds/QcContentReferences.h>

Functions

QStringList check(const QcContentRegistry &content)

Detailed Description

Such entries stay inert (a recipe never matches, a drop is not given, a sound is silent) but deserve a warning for the mod author.

Function Documentation

QStringList QcContentReferences::check(const QcContentRegistry &content)

Returns one warning per unknown name in content, in the order of the definitions.