QcVillagerBreeding::Context Struct
struct QcVillagerBreeding::ContextWhat a breeding check reads. More...
Public Variables
| QcVillagerHomes::Limits | limits |
| std::function<bool (QcBlockPos)> | rains |
| const QSet<qint64> * | reconciled |
| QcVillages & | villages |
| const QcBlockAccess & | world |
| double | worldTime |
Detailed Description
Member Variable Documentation
QcVillagerHomes::Limits Context::limits
The bounds of the villagers' claims.
std::function<bool (QcBlockPos)> Context::rains
Whether it rains on a block's column (QcVillagerBehaviour::rainsAt).
const QSet<qint64> *Context::reconciled
Villages whose claims were reconciled after loading (QcVillagePopulation::checkVillageClaims, decision E-416); only they share food and breed. Null: every village.
QcVillages &Context::villages
The villages.
const QcBlockAccess &Context::world
The blocks (free beds).
double Context::worldTime
The world time.