
Lithium
No-compromises game logic optimization mod. Well suited for clients and servers of all kinds. Now available for Fabric and NeoForge!
About
Lithium is a modern, general-purpose optimization mod for Minecraft which works to improve a number of systems (game physics, mob AI, block ticking, etc) with the goal of not changing any vanilla mechanics.
<br>The mod works on both the client and server, and can be installed on servers without requiring clients to also have the mod (and vice versa.)
<br>For multiplayer servers, administrators can expect a sizeable improvement to tick times, allowing their hardware to support more loaded entities, chunks, and players. Even in single-player, Lithium helps to improve performance by optimizing the internal game server, which is used for "ticking" the world. This can free up your computer's processor to focus on other tasks, resulting in improved frame rates and increased responsiveness.
<br>The strict goal of maintaining exact behavior with vanilla makes Lithium suitable for almost any Minecraft server running Fabric, even for highly complex gameplay scenarios and creations. In fact, our continued insistence towards not changing vanilla gameplay has even led to the mod being officially allowed in Minecraft speedrunning.
<br>Installation
Make sure you have the latest version of Fabric Loader present and then simply drop the mod into your mods folder. No other mods or additional setup (not even Fabric API!) is required. You do not need to create new worlds in order to take advantage of the mod.
<br>While you're at it, you may want to check out Sodium, which improves rendering performance.
<br>Configuration
Lithium makes use of an semi-unusual configuration system which allows you to enable or completely disable patches the mod applies. This system allows fine-grained control over what code in Minecraft is modified by Lithium, and as such, can be used to completely eliminate bugs or mod incompatibilities introduced by the mod.
<br>For more information, please read the wiki entry on modifying your configuration file.
<br>Please note: An empty configuration file is perfectly normal and just means you want to use the default options, which are already set up out of the box for the best performance the mod can offer.
<br>Reporting Issues
Please use the issue tracker linked at the top of the page to report bugs, crashes, and other issues.
Versions
Lithium 0.21.3 for Minecraft 1.21.11 adds several optimizations and fixes. Make sure to take a backup of your world before using the mod and please report any bugs and mod compatibility issues at the [issue tracker](https://github.com/CaffeineMC/lithium-fabric/issues). You can check the [description of each optimization](https://github.com/CaffeineMC/lithium/blob/mc1.21.11-0.21.3/lithium-mixin-config.md) and how to disable it when encountering a problem. ## Additions - Optimize item frames with maps lag when many players are online - Use chunk aware block search for mob supporting block (Thanks to jcw780) - Update chunk serialization optimization (Thanks to ishland) - Allow hoppers to sleep when empty input inventory has comparators - Sculk sensor, catalyst and shrieker sleeping ## Fixes - Use correct height limit and chunk loading order in portal POI optimization (Thanks to jcw780) - Wake sleeping hoppers when double chests above them have comparators placed nearby
Lithium 0.21.3 for Minecraft 1.21.11 adds several optimizations and fixes. Make sure to take a backup of your world before using the mod and please report any bugs and mod compatibility issues at the [issue tracker](https://github.com/CaffeineMC/lithium-fabric/issues). You can check the [description of each optimization](https://github.com/CaffeineMC/lithium/blob/mc1.21.11-0.21.3/lithium-mixin-config.md) and how to disable it when encountering a problem. ## Additions - Optimize item frames with maps lag when many players are online - Use chunk aware block search for mob supporting block (Thanks to jcw780) - Update chunk serialization optimization (Thanks to ishland) - Allow hoppers to sleep when empty input inventory has comparators - Sculk sensor, catalyst and shrieker sleeping ## Fixes - Use correct height limit and chunk loading order in portal POI optimization (Thanks to jcw780) - Wake sleeping hoppers when double chests above them have comparators placed nearby
Lithium 0.15.2 for Minecraft 1.21 and 1.21.1 backports an optimization and bug fixes. Make sure to take a backup of your world before using the mod and please report any bugs and mod compatibility issues at the [issue tracker](https://github.com/CaffeineMC/lithium-fabric/issues). You can check the [description of each optimization](https://github.com/CaffeineMC/lithium/blob/mc1.21.1-0.15.2/lithium-mixin-config.md) and how to disable it when encountering a problem. ## Additions - Optimize non POI block searches (Thanks to jcw780) ## Fixes - Fix incorrect hopper sleeping with double chests halves read by comparators