Description
Fixing CPU Thread Starvation During Terrain Generation
By default, Minecraft spawns `Main` and `Render` threads at the exact same OS scheduler priority as background `Worker-Main` chunk compilation threads. On 6-core and 8-core CPUs, loading new chunks saturates all logical cores and causes severe mouse input jitter.
This utility assigns explicit JVM thread priorities (`Thread.NORM_PRIORITY - 2` for background workers, `NORM_PRIORITY + 1` for the render loop) and caps concurrent mesh rebuild bursts. Settings are stored in `config/worker_thread_scheduler.properties`.
