Utility Nexus Admin (0.0.0-beta.9)
Curse Maven Snippet
What's new
v0.0.0-beta.9 - Pregen Progress File Fix
Fixed
pregen_progress.jsonballooning to millions of lines while nothing was actually pregenerated: the progress model kept one entry per generated chunk in a list, and with pretty-printed JSON every entry was its own line. Two cursor bugs made it endless:- With
pregen.radius <= 0("infinite"), the scan cursor never advanced, so chunk(0,0)was re-processed every tick forever and"0,0"was appended each time. - Even with a finite radius, the cursor stopped advancing at the last chunk, so the scan never completed and kept regenerating that chunk.
- With
- The progress model now stores a single counter instead of the chunk list — the file stays a fixed ~10 lines.
- The raster scan was rewritten so it always terminates, and
pregen.radius <= 0is now treated as a fixed large radius (12,500 chunks / 200,000 blocks) rather than a broken "infinite" mode. - Loading an existing progress file only resumes when its dimension/center/radius still match the current config, and a corrupt or oversized legacy file can no longer crash startup.
Note: delete your existing oversized <world>/utility_nexus_admin/pregen_progress.json once. The new build ignores it and rewrites a small one on the next save anyway, but parsing the huge file wastes a few seconds at startup.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

