c63fa74239
Every guest had its own copy of what it was last told about every entity, so each tick compared each entity's data and built and encoded its update packets once per guest. A level now keeps one ServerEntity state per entity (ChunkMap.entityMap), whose changes are worked out once a tick, encoded once and sent to every guest tracking it; a guest's Tracker is the set of entities it is paired with. The update cadence is the entity's own tickCount, as vanilla's, and late clients are paired with the data the others hold. The per-tick copy of every entity state, the id lists and the packet lists are gone too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>