QtCraft API C++ classes QML types Handbook

QcCircuitComponents::Plates Struct

struct QcCircuitComponents::Plates

Plates something lies on in this tick, those a player or creature stands on and those a minecart stands on; tripwire something touches (decision E-782). More...

Public Functions

void clear()
const QSet<QcBlockPos> &pressing(const QcSignalDefinition &signal) const

Detailed Description

Member Function Documentation

void Plates::clear()

Forgets every plate and wire.

const QSet<QcBlockPos> &Plates::pressing(const QcSignalDefinition &signal) const

Returns the plates of this tick that a plate with signal counts as pressed (QcSignalDefinition::detectsItems, detectsCarts).