QtCraft API C++ classes QML types Handbook

QcServerSystems Struct

The gameplay systems of a server: each runs its own part of the tick on the world and its bodies (fire, weather, health, minecarts, boats, experience, projectiles, circuits, explosions, the players' mining and using). More...

Header: #include <server/core/QcServerSystems.h>

Public Variables

QcServerAdvancements &advancements
QcServerBoats &boats
QcBodyBurning &burning
QcServerCircuits &circuits
QcServerExperience &experience
QcServerExplosions &explosions
QcServerFire &fire
QcPlayerHealth &health
QcFireIgnition &ignition
QcServerInteraction &interaction
QcLightningStrike &lightning
QcServerMinecarts &minecarts
QcServerProjectiles &projectiles
QcSnowfall &snowfall
QcServerWeather &weather

Detailed Description

QcServer owns them and hands them out together through QcServer::systems(), for the headless game, tools and tests that drive or inspect one of them directly.

Member Variable Documentation

QcServerAdvancements &QcServerSystems::advancements

The adventure guide (decision E-923).

QcServerBoats &QcServerSystems::boats

Boats (decision E-920).

QcBodyBurning &QcServerSystems::burning

Players and creatures on fire.

QcServerCircuits &QcServerSystems::circuits

Signal Dust circuits (decision E-335).

QcServerExperience &QcServerSystems::experience

The players' experience and its orbs (decision E-398).

QcServerExplosions &QcServerSystems::explosions

Explosives and explosions (decisions E-600 to E-604).

QcServerFire &QcServerSystems::fire

Fire (decision E-392): the step of the burning fires in the tick.

QcPlayerHealth &QcServerSystems::health

Health and food of the players (decision E-367).

QcFireIgnition &QcServerSystems::ignition

Flint and steel, dispensers and lava lighting fire (decision E-393).

QcServerInteraction &QcServerSystems::interaction

Mining, using items and entities, and the swings while mining (decision E-881).

QcLightningStrike &QcServerSystems::lightning

What a lightning strike does to the world (decision E-396).

QcServerMinecarts &QcServerSystems::minecarts

Minecarts (decision E-382).

QcServerProjectiles &QcServerSystems::projectiles

Projectiles: arrows and the like (decision E-425).

QcSnowfall &QcServerSystems::snowfall

Snow piling up during snowfall.

QcServerWeather &QcServerSystems::weather

The weather, where it rains and snows, and lightning (decision E-395).