Class CompanionBlockSpawnerSpatialSystem

All Implemented Interfaces:
ISystem<ChunkStore>, QuerySystem<ChunkStore>, TickableSystem<ChunkStore>

public class CompanionBlockSpawnerSpatialSystem extends SpatialSystem<ChunkStore>
Indexes all CompanionBlockSpawnerBlock blocks (spawner blocks and requirements) in a KDTree spatial resource by their world position, so the companion block spawner systems can find participating blocks near a placed/broken block.

Modelled on ItemContainerBlockSpatialSystem. Participating blocks are rare, so the index is rebuilt every tick rather than sharing the block-state rebuild flag (which is consume-on-read and already owned by the item-container system).