QtCraft API C++ classes QML types Handbook

QcSpawners::Entry Struct

struct QcSpawners::Entry

The state of one spawner block. More...

Public Variables

bool confined
quint32 delay
QString mob
QcBlockPos pos

Detailed Description

Member Variable Documentation

bool Entry::confined

Its creatures are confined (QcCreature::confined; the showcase's dungeon): they walk, but neither teleport, follow an owner by teleport, carry blocks nor change the world.

quint32 Entry::delay

Game ticks until the next cycle (counted only while a player is near).

QString Entry::mob

Content name of the creature kind; empty: an empty cage that spawns nothing.

QcBlockPos Entry::pos

Where the spawner block is.