QtCraft API C++ classes QML types Handbook

QcCheatCommands Class

Commands that bend the rules for operators (decision E-243): items, creatures, health and food, armour, stands, minecarts and boats, time, game rules, the game mode and finding biomes. More...

Header: #include <server/commands/QcCheatCommands.h>

Public Types

struct Parts

Public Functions

void addTo(QcCommandRegistry &registry)

Static Public Members

const int biomeSearchRadius

Detailed Description

Member Function Documentation

void QcCheatCommands::addTo(QcCommandRegistry &registry)

Adds the commands of this group (see the class) to registry.

Member Variable Documentation

const int QcCheatCommands::biomeSearchRadius

How far /locatebiome searches around the player (blocks).