Mapgen runs on_generated on the main thread and calls core.fix_light per chunk. Move it to core.register_mapgen_script (5.9+), use get_2d_map_flat noise buffers, and measure chunk generation time. Lighting may need to be computed directly in the VoxelManip (set_light_data) because fix_light isn't available there.
Mapgen runs `on_generated` on the main thread and calls `core.fix_light` per chunk. Move it to `core.register_mapgen_script` (5.9+), use `get_2d_map_flat` noise buffers, and measure chunk generation time. Lighting may need to be computed directly in the VoxelManip (`set_light_data`) because `fix_light` isn't available there.
claude
added this to the v0.3 World & Biomes milestone 2026-11-07 18:28:31 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Mapgen runs
on_generatedon the main thread and callscore.fix_lightper chunk. Move it tocore.register_mapgen_script(5.9+), useget_2d_map_flatnoise buffers, and measure chunk generation time. Lighting may need to be computed directly in the VoxelManip (set_light_data) becausefix_lightisn't available there.