File Details
Chunky-1.3.94.jar
- R
- Dec 6, 2025
- 322.04 KB
- 112
- 1.20.1
- Forge
File Name
Chunky-1.3.94.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
Summary of Changes to Chunky (Forge 1.20.1)
Deadlock & Threading Fixes
- Removed
synchronizedkeyword fromupdate()method - Was causing monitor deadlock between Chunky thread and server thread - Added dedicated 4-thread callback executor - Handles chunk completion callbacks separately from server thread
- Changed
whenCompletetowhenCompleteAsyncwith callback executor - Moves heavy callback work off the server thread - Added 60-second timeout on waiting for pending chunks - Prevents infinite hangs if chunks get stuck; logs warning and continues
- Added proper executor shutdown - Cleans up callback threads when task finishes
Resource Management Fixes
- Moved ticket cleanup to
server.execute()- Schedules cleanup for next server tick instead of blocking completion chain - Limited thread pool to max 10 threads - Was previously unbounded (could create unlimited threads)
- Added bounded queue (100 capacity) - Prevents task queue overflow
World Generation Bar Fixes
Wrapped bar updates in server.execute() - Ensures thread-safe access to Minecraft's CustomBossEvents
- Wrapped boss bar cleanup in
server.execute()- Fixes multiple progress bars appearing when running Chunky multiple times

