Class CompanionBlockSpawnerSystems.ReconcileTick

All Implemented Interfaces:
ISystem<ChunkStore>, QuerySystem<ChunkStore>, TickableSystem<ChunkStore>
Enclosing class:
CompanionBlockSpawnerSystems

public static class CompanionBlockSpawnerSystems.ReconcileTick extends EntityTickingSystem<ChunkStore>
Slow per-block safety net (~every 30s, jittered) healing the states events can't reach:
  • active spawner whose marker entity no longer resolves (self-removed after failed spawns, lost with a rolled-back chunk, removed while this chunk was unloaded) - clears the stale reference and re-evaluates;
  • active spawner whose conditions silently broke (requirement removed while this chunk was unloaded) - deactivates;
  • dormant spawner whose conditions are actually met (same-tick placement, earlier marker placement failure) - activates;
  • requirement block claimed by a spawner that is gone or out of range - releases the claim.
The first pass for a block runs a full interval after it loads, so the spatial index is warm.