d601715126
A chunk was lit only once all eight neighbours were finished, so the outermost finished ring of a loaded area (a /forceload square, a /pregen band's edge, a player's last ring) stayed unlit: saved as FULL with no light at all, and with no generation animals, which wait for light. Vanilla's LIGHT step needs its neighbours only at INITIALIZE_LIGHT (ChunkPyramid), so its last FULL ring is lit against decorated chunks. A light job now reads a neighbour that will not finish (past the area) from its decorated proto chunk (ChunkGenerator::light_view). A chunk saved unlit is saved again once lit, and one whose light changes when a neighbour finishes later is saved again. `execute if loaded` needs the chunk lit, as vanilla's needs it ENTITY_TICKING. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>