Mineuniverse
Log in Register
Mods

Threads

Performance tweaking mod that allows to change priority of running game threads.
by sajeyson06
Download Claim this project
289,962 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Performance

Default priority values for Render and Server threads depends on the amount of CPU threads you have, specifically more than 4 by Mojang rules. If CPU have more than 4 threads then Render Thread have priority of 10 and Server Thread of 8. Otherwise, thread priority is 5, which is default value for every thread by Java rules. This is a bad thing to have, because Java Virtual Machine does not prioritize game tasks, which is most expensive part of Minecraft process. For example, this may cause lag spikes during world generation on bad CPU. This mod allows to take control of those values by editing config file.

Higher priority for Render Thread - higher FPS and frame stability. Higher priority for Server Thread - more stable tick rate with less delays. But that doesn't mean that you can just set everything at 10. It depends on the problem: if you have low TPS you need to lower render and sound engine threads and increase server thread priority. If you have low frames and spikes you need to lower server and sound engine threads and increase render thread. Additionally there some other threads is running in background with unnecessary priority that can interrupt main game. You can use 'Every other thread' config option to set priority for those. If set to 1 is a good test if performance issues is in thread priorities and usually greatly increases performance on weak PC.

Config menu that can be accessed through main menu, pause screen or pressing F6 (by default) while in-game.

Sliders and buttons have tooltips with useful info. You can see current priority of three main threads in the F3 menu by enabling 'threads' debug entry.

 

For versions before 1.2

To open config file, run /threads openconfig command.

To apply the changes run /threads reload command or rejoin the world.

threads.json

{
    "renderThreadPriority": 1-10, // Default 5 or 10 if CPU thread count > 4
    "serverThreadPriority": 1-10, // Default 5 or 8 if CPU thread count > 4
    "soundEngineThreadPriority": 1-10, // Default 5
    "everyOtherThreadPriority": 0-10, // Default 0
    "threadBlacklist": [],
    "debug": false // If true logs info about actions with each thread.
}

Legacy config for 1.20.1 Forge version.

Configuration will be applied after world is loaded or config file is changed while world is open.

threads-client.toml

render_thread = Range 1-10. Default is 5 or 10 if cpu thread count > 4.
server_thread = Range 1-10. Default is 5 or 8 if cpu thread count > 4.
sound_engine_thread = Range 1-10. Default is 5.

Default is 0, which means do nothing.
every_other_thread = Range 0-10.
thread_name_blacklist = ["Thread-3"]
Threads-1.3.1-26.2.jar
MC Client, Fabric, 26.2
Release 2026-06-24 Get
Threads-1.0.2-1.20.1.jar
MC 1.20.2, Client, 1.20.3, 1.20.1, Forge, 1.20.4
Release 2023-12-19 Get

More from sajeyson06

Witherproofed
510,508
ShiftedLib
234,763

You Might Also Like

Better Biome Reblend
Updated version of Better Biome Blend, a mod that improves and fixes biome color blending
9,432,920
Icterine
Advancements optimization (specifically, InventoryChangeTrigger)
9,118,727
- FPS Booster - Lag Killer
powerful client-side performance FPS booster
97,463
Better Pie Chart
This Mod improves the Vanilla Pile Chart perfect for Minecraft SMP servers
9,603
Enhanced Block Entities Backforged
Reduce FPS lag with block entities, as well as customize them with resource packs. Forge 1.16.5 port of EBE
9,451
Unbinilium
Ubinilium is a Minecraft mod designed to optimize performance and enhance gameplay. It stabilizes FPS, renders distant blocks with reduced detail, and efficiently manages memory.
9,364