Minecraft Lithium (Fabric) mod 2026 download
logo
minecraft mod Lithium (Fabric)

Lithium (Fabric)

Game Version: 1.19.3
Total Downloads: 11,399,009
Updated: Dec 8, 2022
Created: Jan 28, 2020
Download Lithium (Fabric)Download Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
Lithium mc1.19.3-0.10.4 release 542.75 KB Dec 8, 2022 1.19.3 157 download Lithium (Fabric) Lithium mc1.19.3-0.10.4 releaseDownload
Lithium mc1.19.2-0.10.4 release 542.13 KB Dec 8, 2022 1.19.2 163 download Lithium (Fabric) Lithium mc1.19.2-0.10.4 releaseDownload
Lithium mc1.18.2-0.10.3 release 542.15 KB Dec 7, 2022 1.18.2 815 download Lithium (Fabric) Lithium mc1.18.2-0.10.3 releaseDownload
Lithium mc1.18.2-0.10.2 release 536.06 KB Nov 11, 2022 1.18.2 50,493 download Lithium (Fabric) Lithium mc1.18.2-0.10.2 releaseDownload
Lithium mc1.19.2-0.10.2 release 530.44 KB Nov 10, 2022 1.19.2 319,295 download Lithium (Fabric) Lithium mc1.19.2-0.10.2 releaseDownload
Lithium mc1.19.2-0.10.1 release 530.36 KB Oct 29, 2022 1.19.2 337,706 download Lithium (Fabric) Lithium mc1.19.2-0.10.1 releaseDownload
Lithium mc1.19.2-0.10.0 release 529.40 KB Oct 19, 2022 1.19.2 196,544 download Lithium (Fabric) Lithium mc1.19.2-0.10.0 releaseDownload
Lithium mc1.19.2-0.9.1 release 524.67 KB Oct 12, 2022 1.19.2 112,978 download Lithium (Fabric) Lithium mc1.19.2-0.9.1 releaseDownload
Lithium mc1.19.2-0.9.0 release 524.62 KB Oct 12, 2022 1.19.2 634 download Lithium (Fabric) Lithium mc1.19.2-0.9.0 releaseDownload
Lithium mc1.19.2-0.8.3 release 465.46 KB Aug 7, 2022 1.19.2 996,361 download Lithium (Fabric) Lithium mc1.19.2-0.8.3 releaseDownload
Lithium mc1.19.1-0.8.3 release 465.45 KB Jul 29, 2022 1.19.1 50,884 download Lithium (Fabric) Lithium mc1.19.1-0.8.3 releaseDownload
Lithium mc1.19-0.8.1 release 464.52 KB Jul 9, 2022 1.19 696,653 download Lithium (Fabric) Lithium mc1.19-0.8.1 releaseDownload
Lithium mc1.19-0.8.0 release 464.52 KB Jun 9, 2022 1.19 302,727 download Lithium (Fabric) Lithium mc1.19-0.8.0 releaseDownload
Lithium mc1.18.2-0.7.10 release 455.27 KB May 22, 2022 1.18.2 1,399,607 download Lithium (Fabric) Lithium mc1.18.2-0.7.10 releaseDownload
Lithium mc1.18.2-0.7.9 release 433.30 KB Mar 2, 2022 1.18.2 792,854 download Lithium (Fabric) Lithium mc1.18.2-0.7.9 releaseDownload
Lithium mc1.18.1-0.7.8 release 438.98 KB Feb 23, 2022 1.18.1 882,992 download Lithium (Fabric) Lithium mc1.18.1-0.7.8 releaseDownload
Lithium mc1.18.1-0.7.7 release 382.14 KB Jan 2, 2022 1.18.1 750,605 download Lithium (Fabric) Lithium mc1.18.1-0.7.7 releaseDownload
Lithium mc1.18.1-0.7.6 release 378.01 KB Dec 13, 2021 1.18.1 370,097 download Lithium (Fabric) Lithium mc1.18.1-0.7.6 releaseDownload
Lithium mc1.17.1-0.7.5 release 434.36 KB Nov 5, 2021 1.17.1 374,980 download Lithium (Fabric) Lithium mc1.17.1-0.7.5 releaseDownload
Lithium mc1.17.1-0.7.4 release 430.27 KB Aug 25, 2021 1.17.1 468,954 download Lithium (Fabric) Lithium mc1.17.1-0.7.4 releaseDownload
Lithium mc1.17.1-0.7.3 release 403.67 KB Jul 7, 2021 1.17.1 539,062 download Lithium (Fabric) Lithium mc1.17.1-0.7.3 releaseDownload
Lithium mc1.17-0.7.2 release 401.59 KB Jun 21, 2021 1.17 152,895 download Lithium (Fabric) Lithium mc1.17-0.7.2 releaseDownload
Lithium mc1.17-0.7.1 release 398.11 KB Jun 16, 2021 1.17 44,161 download Lithium (Fabric) Lithium mc1.17-0.7.1 releaseDownload
Lithium mc1.16.5-0.6.6 release 341.21 KB Jun 9, 2021 1.16.5 537,005 download Lithium (Fabric) Lithium mc1.16.5-0.6.6 releaseDownload
Lithium mc1.16.5-0.6.5 release 341.23 KB Jun 8, 2021 1.16.5 35,245 download Lithium (Fabric) Lithium mc1.16.5-0.6.5 releaseDownload
Lithium mc1.16.5-0.6.4 release 341.03 KB Feb 24, 2021 1.16.5 775,389 download Lithium (Fabric) Lithium mc1.16.5-0.6.4 releaseDownload
Lithium mc1.16.5-0.6.3 release 306.95 KB Feb 2, 2021 1.16.5 164,943 download Lithium (Fabric) Lithium mc1.16.5-0.6.3 releaseDownload
Lithium mc1.16.5-0.6.1 release 300.18 KB Jan 24, 2021 1.16.5 54,840 download Lithium (Fabric) Lithium mc1.16.5-0.6.1 releaseDownload
Lithium mc1.16.4-0.6.0 release 281.24 KB Nov 10, 2020 1.16.4 338,774 download Lithium (Fabric) Lithium mc1.16.4-0.6.0 releaseDownload
Lithium mc1.16.3-0.5.6 release 271.11 KB Sep 23, 2020 1.16.3 60,452 download Lithium (Fabric) Lithium mc1.16.3-0.5.6 releaseDownload
Lithium mc1.16.3-0.5.5 release 272.96 KB Sep 20, 2020 1.16.3 4,141 download Lithium (Fabric) Lithium mc1.16.3-0.5.5 releaseDownload
Lithium mc1.16.2-0.5.4 release 252.56 KB Sep 1, 2020 1.16.2 71,689 download Lithium (Fabric) Lithium mc1.16.2-0.5.4 releaseDownload
Lithium mc1.16.2-0.5.3 release 252.31 KB Aug 31, 2020 1.16.2 728 download Lithium (Fabric) Lithium mc1.16.2-0.5.3 releaseDownload
Lithium mc1.16.2-0.5.2 release 241.67 KB Aug 25, 2020 1.16.2 6,651 download Lithium (Fabric) Lithium mc1.16.2-0.5.2 releaseDownload
Lithium mc1.16.1-0.5.1 release 214.88 KB Jul 9, 2020 1.16.1 136,389 download Lithium (Fabric) Lithium mc1.16.1-0.5.1 releaseDownload
Lithium mc1.16.1-0.5.0 release 202.10 KB Jul 4, 2020 1.16.1 6,024 download Lithium (Fabric) Lithium mc1.16.1-0.5.0 releaseDownload
Lithium mc1.16.1-0.5.0-rc1 release 198.11 KB Jun 24, 2020 1.16.1 18,558 download Lithium (Fabric) Lithium mc1.16.1-0.5.0-rc1 releaseDownload
Lithium mc1.15.2-0.4.6 release 307.18 KB Mar 18, 2020 1.15.2 42,888 download Lithium (Fabric) Lithium mc1.15.2-0.4.6 releaseDownload
Lithium mc1.15.2-0.4.5 release 301.80 KB Mar 7, 2020 1.15.2 1,734 download Lithium (Fabric) Lithium mc1.15.2-0.4.5 releaseDownload
Lithium 0.4.4 (Fabric) release 301.79 KB Mar 5, 2020 1.15.2 702 download Lithium (Fabric) Lithium 0.4.4 (Fabric) releaseDownload
Lithium 0.4.3 (Fabric) release 303.59 KB Mar 3, 2020 1.15.2 597 download Lithium (Fabric) Lithium 0.4.3 (Fabric) releaseDownload
Lithium 0.4.2 (Fabric) release 300.06 KB Mar 1, 2020 1.15.2 368 download Lithium (Fabric) Lithium 0.4.2 (Fabric) releaseDownload
Lithium 0.4.1 (Fabric) release 289.08 KB Mar 1, 2020 1.15.2 466 download Lithium (Fabric) Lithium 0.4.1 (Fabric) releaseDownload
Lithium mc1.19.3-0.10.3 beta 542.74 KB Dec 7, 2022 1.19.3 3,020 download Lithium (Fabric) Lithium mc1.19.3-0.10.3 betaDownload
Lithium mc1.19.2-0.10.3 beta 542.12 KB Dec 7, 2022 1.19.2 5,376 download Lithium (Fabric) Lithium mc1.19.2-0.10.3 betaDownload
Lithium mc1.18-0.7.6-rc1 beta 376.44 KB Dec 5, 2021 1.18 179,742 download Lithium (Fabric) Lithium mc1.18-0.7.6-rc1 betaDownload
Lithium mc1.17-0.7.0 beta 390.76 KB Jun 8, 2021 1.17 43,460 download Lithium (Fabric) Lithium mc1.17-0.7.0 betaDownload

Description

Share this:

Want to help support development?

Lithium is made possible thanks to the awesome supporters. Each pledge allows us to spend more time working on mods like these while helping to cover a few expenses.

Donate to 2No2Name (Lithium development for Minecraft 1.15 – 1.17+):

Patreon 2No2Name Donation Link

Donate to JellySquid (Lithium development for Minecraft 1.14 – 1.16):

JellySquid Donation Link

Coders can also contribute by working on pull requests. Special thanks to everyone who helped with the development. Checkout all contributions here.

 

You can join our discord community with support and discussion channels:

Server tick time (mspt) graph before and after installing Lithium. Measurements made in an existing world at a render distance of 18.

 

Lithium for Fabric

Code license

Lithium is a general-purpose optimization mod for Minecraft which works to improve a number of systems (game physics, mob AI, block ticking, etc) without changing any behavior. It works on both the client and server, and can be installed on servers without requiring clients to also have the mod. With the mod installed, you can see on average a 45% improvement to server tick times, resulting in a much leaner game.

Even in single-player, your game runs an "integrated server" which ticks the world your player is in. Through optimizing the server-side of the game, this can free up your computer's processor to focus on other tasks, resulting in improved frame rates and responsiveness. For multiplayer servers, administrators can expect a sizeable improvement to tick times, allowing their hardware to support more loaded entities, chunks, and players.

If you aren't using it already as well, Phosphor and Sodium both pair great with Lithium and are fully compatible.

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.

Features

You might be curious by now as to what exactly Lithium is doing in order to achieve such significant gains, and I'm happy you are! You can read about (some) of the changes we make in the spoiler below.

Physics optimizations: Entity collision detection has seen significant improvements through reducing the collision resolution complexity for simple, cuboid blocks. A more accurate algorithm is also used to reduce the number of blocks being checked every tick, especially in cases where entities are moving very quickly.

Mob AI optimizations: We make use of an event-based system for some tasks in order to reduce the CPU usage incurred by constantly polling the world for changes. Mob "brains" have also been optimized to select between different AI tasks much, much quicker than before. Comparison before and after here.

World generation optimizations: Many calculations in vanilla's world generation are unnecessary and do not affect the final result, which gives ample opportunity for Lithium to optimize this overhead away.

Chunk loading optimizations: The temporary data structures used in block palette compaction have been changed to be much more efficient. This results in fewer TPS drops while players are exploring terrain and provides a modest boost to world load times. We also batch some verification operations to reduce unnecessary disk I/O.

Mob farm optimizations: Mob cramming is significantly less expensive as resolving collisions between entities has been optimized to take advantage of the fact that simple boxes are involved. This makes mob farms considerably less harmful for server tick rates.

Block ticking optimizations: has less overhead, making things such as block update settling after generating chunks and other Redstone contraptions faster. This also reduces the amount of time it takes for a block to determine if it is ticking by schedule from O(n), where n is the number of ticking blocks, to O(1), providing a significant speedup when many blocks are being ticked.

Explosion optimizations: Many optimizations have been applied to TNT and explosions alike, reducing their associated lag without changing how they behave. In particular, ray-tracing is optimized to take advantage of the fact that multiple steps through a way will occur in the same block position, allowing us to quickly re-use the previous step's results. We also make use of a faster position tracking algorithm which avoids many excessive allocations.

Point of Interest optimizations: Complex mob AIs in Minecraft, primarily those belonging to Villagers and Pillagers, often need to find relevant points of interest in the world in order to choose the most appropriate AI task. In vanilla, querying all points within a chunk requires 16 separate retrievals through stream-heavy code. With Lithium present, this task is reduced to a single simple retrieval that makes use of a much faster (and traditional) iterator based approach, yielding anywhere from a 16-22x improvement for queries.

Data Tracker optimizations: The internal data manager used for tracking some entity state and properties has been optimized to use flat arrays and avoid expensive locking, providing a decent boost whenever these attributes are accessed during a game tick.

Redstone Wire optimizations: Calculating the new power level of redstone wire after a block update is costly. Reducing the number of blockstate checks without any change in behavior reduces redstone dust lag by about 35%.

 

… And other internal improvements to help the JVM better optimize code.

Configuration

Lithium makes use of an unusual configuration system which can be used to enable or disable certain patches. This system allows fine-grained control over what code is modified by Lithium, and as such, can be used to completely eliminate bugs or mod incompatibilities introduced by the mod. For more information, please read the wiki entry on modifying your configuration file. An empty configuration file is perfectly normal and just means you want to use the default options.

Modpack Permissions

This is a free and open-source project on MinecraftPatch, and as such– of course you can include it in your modpack! While not required, it's much appreciated if you link back to Lithium's project page and Patreon in your mods list or credits page.

Reporting Issues

Please use the issue tracker linked at the top of the page to report bugs, crashes, and other issues. The Curseforge comments section is not the place to report these kinds of problems and will likely result in you being asked to forward it along.

logo
minecraft mod Lithium (Fabric)

Lithium (Fabric)

Game Version: 1.17.1
Total Downloads: 1,806,482
Updated: Jul 7, 2021
Created: Jan 28, 2020
Download Lithium (Fabric)Download Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
Lithium mc1.17.1-0.7.3 release 403.67 KB Jul 7, 2021 1.17.1 3,276 download Lithium (Fabric) Lithium mc1.17.1-0.7.3 releaseDownload
Lithium mc1.17-0.7.2 release 401.59 KB Jun 21, 2021 1.17 105,786 download Lithium (Fabric) Lithium mc1.17-0.7.2 releaseDownload
Lithium mc1.17-0.7.1 release 398.11 KB Jun 16, 2021 1.17 38,464 download Lithium (Fabric) Lithium mc1.17-0.7.1 releaseDownload
Lithium mc1.16.5-0.6.6 release 341.21 KB Jun 9, 2021 1.16.5 60,487 download Lithium (Fabric) Lithium mc1.16.5-0.6.6 releaseDownload
Lithium mc1.16.5-0.6.5 release 341.23 KB Jun 8, 2021 1.16.5 7,694 download Lithium (Fabric) Lithium mc1.16.5-0.6.5 releaseDownload
Lithium mc1.16.5-0.6.4 release 341.03 KB Feb 24, 2021 1.16.5 630,656 download Lithium (Fabric) Lithium mc1.16.5-0.6.4 releaseDownload
Lithium mc1.16.5-0.6.3 release 306.95 KB Feb 2, 2021 1.16.5 157,798 download Lithium (Fabric) Lithium mc1.16.5-0.6.3 releaseDownload
Lithium mc1.16.5-0.6.1 release 300.18 KB Jan 24, 2021 1.16.5 49,400 download Lithium (Fabric) Lithium mc1.16.5-0.6.1 releaseDownload
Lithium mc1.16.4-0.6.0 release 281.24 KB Nov 10, 2020 1.16.4 331,784 download Lithium (Fabric) Lithium mc1.16.4-0.6.0 releaseDownload
Lithium mc1.16.3-0.5.6 release 271.11 KB Sep 23, 2020 1.16.3 57,079 download Lithium (Fabric) Lithium mc1.16.3-0.5.6 releaseDownload
Lithium mc1.16.3-0.5.5 release 272.96 KB Sep 20, 2020 1.16.3 3,368 download Lithium (Fabric) Lithium mc1.16.3-0.5.5 releaseDownload
Lithium mc1.16.2-0.5.4 release 252.56 KB Sep 1, 2020 1.16.2 69,049 download Lithium (Fabric) Lithium mc1.16.2-0.5.4 releaseDownload
Lithium mc1.16.2-0.5.3 release 252.31 KB Aug 31, 2020 1.16.2 597 download Lithium (Fabric) Lithium mc1.16.2-0.5.3 releaseDownload
Lithium mc1.16.2-0.5.2 release 241.67 KB Aug 25, 2020 1.16.2 6,368 download Lithium (Fabric) Lithium mc1.16.2-0.5.2 releaseDownload
Lithium mc1.16.1-0.5.1 release 214.88 KB Jul 9, 2020 1.16.1 117,703 download Lithium (Fabric) Lithium mc1.16.1-0.5.1 releaseDownload
Lithium mc1.16.1-0.5.0 release 202.10 KB Jul 4, 2020 1.16.1 5,032 download Lithium (Fabric) Lithium mc1.16.1-0.5.0 releaseDownload
Lithium mc1.16.1-0.5.0-rc1 release 198.11 KB Jun 24, 2020 1.16.1 17,705 download Lithium (Fabric) Lithium mc1.16.1-0.5.0-rc1 releaseDownload
Lithium mc1.15.2-0.4.6 release 307.18 KB Mar 18, 2020 1.15.2 35,916 download Lithium (Fabric) Lithium mc1.15.2-0.4.6 releaseDownload
Lithium mc1.15.2-0.4.5 release 301.80 KB Mar 7, 2020 1.15.2 1,510 download Lithium (Fabric) Lithium mc1.15.2-0.4.5 releaseDownload
Lithium 0.4.4 (Fabric) release 301.79 KB Mar 5, 2020 1.15.2 543 download Lithium (Fabric) Lithium 0.4.4 (Fabric) releaseDownload
Lithium 0.4.3 (Fabric) release 303.59 KB Mar 3, 2020 1.15.2 520 download Lithium (Fabric) Lithium 0.4.3 (Fabric) releaseDownload
Lithium 0.4.2 (Fabric) release 300.06 KB Mar 1, 2020 1.15.2 278 download Lithium (Fabric) Lithium 0.4.2 (Fabric) releaseDownload
Lithium 0.4.1 (Fabric) release 289.08 KB Mar 1, 2020 1.15.2 294 download Lithium (Fabric) Lithium 0.4.1 (Fabric) releaseDownload
Lithium mc1.17-0.7.0 beta 390.76 KB Jun 8, 2021 1.17 37,453 download Lithium (Fabric) Lithium mc1.17-0.7.0 betaDownload

Description

Share this:

Want to help support development?

Lithium is made possible thanks to the awesome supporters on my Patreon. Each pledge allows me to spend more time working on mods like these while helping to cover a few expenses. You'll also gain some special perks on the official Discord server and access to prioritized support.

Server tick time (mspt) graph before and after installing Lithium. Measurements made in an existing world at a render distance of 18.

 

Lithium for Fabric

Code license

Lithium is a general-purpose optimization mod for Minecraft which works to improve a number of systems (game physics, mob AI, block ticking, etc) without changing any behavior. It works on both the client and server, and can be installed on servers without requiring clients to also have the mod. With the mod installed, you can see on average a 45% improvement to server tick times, resulting in a much leaner game.

Even in single-player, your game runs an "integrated server" which ticks the world your player is in. Through optimizing the server-side of the game, this can free up your computer's processor to focus on other tasks, resulting in improved frame rates and responsiveness. For multiplayer servers, administrators can expect a sizeable improvement to tick times, allowing their hardware to support more loaded entities, chunks, and players.

If you aren't using it already as well, Phosphor and Sodium both pair great with Lithium and are fully compatible.

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.

Features

You might be curious by now as to what exactly Lithium is doing in order to achieve such significant gains, and I'm happy you are! You can read about (some) of the changes we make in the spoiler below.

Physics optimizations: Entity collision detection has seen significant improvements through reducing the collision resolution complexity for simple, cuboid blocks. A more accurate algorithm is also used to reduce the number of blocks being checked every tick, especially in cases where entities are moving very quickly.

Mob AI optimizations: We make use of an event-based system for some tasks in order to reduce the CPU usage incurred by constantly polling the world for changes. Mob "brains" have also been optimized to select between different AI tasks much, much quicker than before. Comparison before and after here.

World generation optimizations: Many calculations in vanilla's world generation are unnecessary and do not affect the final result, which gives ample opportunity for Lithium to optimize this overhead away.

Chunk loading optimizations: The temporary data structures used in block palette compaction have been changed to be much more efficient. This results in fewer TPS drops while players are exploring terrain and provides a modest boost to world load times. We also batch some verification operations to reduce unnecessary disk I/O.

Mob farm optimizations: Mob cramming is significantly less expensive as resolving collisions between entities has been optimized to take advantage of the fact that simple boxes are involved. This makes mob farms considerably less harmful for server tick rates.

Block ticking optimizations: has less overhead, making things such as block update settling after generating chunks and other Redstone contraptions faster. This also reduces the amount of time it takes for a block to determine if it is ticking by schedule from O(n), where n is the number of ticking blocks, to O(1), providing a significant speedup when many blocks are being ticked.

Explosion optimizations: Many optimizations have been applied to TNT and explosions alike, reducing their associated lag without changing how they behave. In particular, ray-tracing is optimized to take advantage of the fact that multiple steps through a way will occur in the same block position, allowing us to quickly re-use the previous step's results. We also make use of a faster position tracking algorithm which avoids many excessive allocations.

Point of Interest optimizations: Complex mob AIs in Minecraft, primarily those belonging to Villagers and Pillagers, often need to find relevant points of interest in the world in order to choose the most appropriate AI task. In vanilla, querying all points within a chunk requires 16 separate retrievals through stream-heavy code. With Lithium present, this task is reduced to a single simple retrieval that makes use of a much faster (and traditional) iterator based approach, yielding anywhere from a 16-22x improvement for queries.

Data Tracker optimizations: The internal data manager used for tracking some entity state and properties has been optimized to use flat arrays and avoid expensive locking, providing a decent boost whenever these attributes are accessed during a game tick.

 

… And other internal improvements to help the JVM better optimize code.

Configuration

Lithium makes use of an unusual configuration system which can be used to enable or disable certain patches. This system allows fine-grained control over what code is modified by Lithium, and as such, can be used to completely eliminate bugs or mod incompatibilities introduced by the mod. For more information, please read the wiki entry on modifying your configuration file. An empty configuration file is perfectly normal and just means you want to use the default options.

Modpack Permissions

This is a free and open-source project on MinecraftPatch, and as such– of course you can include it in your modpack! While not required, it's much appreciated if you link back to Lithium's project page and Patreon in your mods list or credits page.

Reporting Issues

Please use the issue tracker linked at the top of the page to report bugs, crashes, and other issues. The Curseforge comments section is not the place to report these kinds of problems and will likely result in you being asked to forward it along.

Comments

Add a comment