Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App
Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Lithium

Lithium

No-compromises game logic optimization mod. Well suited for clients and servers of all kinds. Now available for Fabric and NeoForge!

31.11M
15.0k
Optimization
AboutChangelogVersions

Lithium 0.10.2

by 2No2Name on Nov 11, 2022
Download

This release is a backport for 1.18.2 from Lithium 0.10.2 for 1.19.2. The previous release for 1.18.2 was Lithium 0.7.10 . This backport includes many new optimizations, bugfixes and new bugs. For a list of changes, check out the changelogs of the versions 0.8 and above:

Changelogs

  • https://github.com/CaffeineMC/lithium-fabric/releases?q=0.8+OR+0.9+OR+0.10&expanded=true

You can support me on patreon: https://www.patreon.com/2No2Name

Lithium 0.10.2

by 2No2Name on Nov 10, 2022
Download

Lithium 0.10.2 fixes two issues with the hopper optimizations.

Changes

  • change: add note about backups to LithiumConfig

Fixes

  • fix: util.inventory_change_listening: ClassCastException with modded inventories or with mixin.block.hopper=false causing inventory deletion
  • fix: block.hopper: incompatibility with SidedInventory Hoppers, e.g. from Copper-Hopper mod

You can support me on patreon: https://www.patreon.com/2No2Name

Lithium 0.10.1

by 2No2Name on Oct 29, 2022
Download

Lithium 0.10.1 fixes a few issues with the previously improved hopper optimizations.

Fixes

  • fix: invalidate path node type caching on data pack reload
  • fix: block.hopper: multiple hoppers fighting over double inventory causing hoppers to wake each other up
  • fix: block.hopper: concurrent modification during iteration causing cache invalidation to be skipped

You can support me on patreon: https://www.patreon.com/2No2Name

Lithium 0.10.0

by 2No2Name on Oct 19, 2022
Download

Lithium 0.10.0 fixes a few mod compatibility issues and a small memory leak. The Lithium PathNodeType API is removed, as Fabric-API now supports registering Blocks with custom PathNodeTypes.

Changes

  • change: ai.pathing: improved PathNode caching, better mod compatibility (fabric-api) and reduced code duplication
  • change: simplify locked hopper sleeping mixin
  • change: block.hopper: replace effective overwrite redirect with inject

Fixes

  • fix: block.hopper: set mixin priority to be before fabric-transfer-api-v1
  • fix: hopper sleeping causing fabric api item transfer to be skipped
  • fix: use set instead of list to avoid duplicated entries and memory leak with sleeping hoppers

You can support me on patreon: https://www.patreon.com/2No2Name

Lithium 0.9.1

by 2No2Name on Oct 12, 2022
Download

Lithium 0.9.1 fixes a critical issue with hoppers that stopped reacting to entities after being lazy loaded.

Fixes

fix: sleeping hoppers that become lazy loaded aren't woken up from entity movements (Thanks to QPCrummer)

You can support me on patreon: https://www.patreon.com/2No2Name

Lithium 0.9.0

by 2No2Name on Oct 12, 2022
Download

Lithium 0.9.0 is a large update that includes new block entity optimizations and fixes several issues. The block entity optimizations improve the performance of hoppers, shulker boxes, campfires, furnaces and brewing stands by skipping their tick when they can't do anything. Futhermore several small behavior changes were fixed and mod compatibility was improved.

Additions

  • new: hopper, shulker box, campfire, furnace and brewingstand sleeping
  • new: aggressive hopper sleeping with comparator, entity movement and inventory change tracking
  • new: avoid sending comparator updates when there is no comparator nearby
  • new: optimized hopper minecart item entity search
  • new: system for hopper sleeping
  • new: block entity ticker caches whether it is inside the world border
  • new: use fastutil hashmap as blockentity ticker collection

Changes

  • change: avoid implementing LithiumInventory in LockableContainerBlockEntityMixin (mod compatibility)
  • change: stationary storage minecarts on rails no longer notify hoppers in every tick
  • change: chest boats inside stationary minecarts do not trigger the movement tracking system all the time
  • change: replace suffocation overwrite with inject (mod compatibility)

Fixes

  • fix: math.sine_lut: slightly off sin() and cos() results
  • fix: unpushable_cramming: crash when entity ids are not unique (related to Hypixel/Wynncraft server)
  • fix: entity.skip_equipment_change_check: mob crossbow changes not sent to clients
  • fix: entity.fast_powder_snow_check: use landing instead of stepping block state
  • fix: block.hopper: run loot generation on chest boats when converting to lithium stack list

You can support me on patreon: https://www.patreon.com/2No2Name

Lithium 0.8.3

by 2No2Name on Aug 7, 2022
Download

Lithium 0.8.3 for 1.19.2 and 1.19.1

Changes

  • Update to 1.19.2 and relax version lock to allow 1.19.1

You can support me on patreon: https://www.patreon.com/2No2Name

Lithium 0.8.3

by 2No2Name on Jul 29, 2022
Download

Lithium 0.8.3 is the second release for 1.19.1! It includes a bugfix too!

Fixes

  • fix: update chunk serialization patch to new mappings

You can donate on patreon: https://www.patreon.com/2No2Name

Lithium 0.8.1

by 2No2Name on Jul 9, 2022
Download

Lithium 0.8.1 is a bugfix release. It includes a fix for the nether portal linking issues near invalid portal POIs.

Fixes

  • fix: ai.poi: POI without matching BlockState breaks nearest valid POI search

You can donate on patreon: https://www.patreon.com/2No2Name

Lithium 0.8.0

by 2No2Name on Jun 9, 2022
Download

Lithium 0.8.0 is our first release for Minecraft 1.19. The release includes a new tick scheduler optimization and updates the optimizations from the previous version.

Additions

  • new: world.tick_scheduler optimization

Changes

  • change: remove incompatible LongJumpTask optimization
  • change: refactor hopper optimization

Fixes

  • fix: item stack modification notification now supports item shadowing

You can donate on patreon: https://www.patreon.com/2No2Name

Lithium 0.7.10

by 2No2Name on May 22, 2022
Download

The changelog is available on GitHub right here.

Lithium 0.7.9

by 2No2Name on Mar 2, 2022
Download

The changelog is available on GitHub right here.

Lithium 0.7.8

by 2No2Name on Feb 23, 2022
Download

The changelog is available on GitHub right here.

Lithium 0.7.7

by 2No2Name on Jan 2, 2022
Download

The changelog is available on GitHub right here.

Lithium 0.7.6

by 2No2Name on Dec 13, 2021
Download

The changelog is available on GitHub right here.

Lithium 0.7.6-rc1

by 2No2Name on Dec 5, 2021
Download

This is the first release candidate of Lithium for Minecraft 1.18. It is missing many of the old optimizations which haven't been ported to 1.18 yet. Also parity with changes introduced in Minecraft 1.18 hasn't been well tested. Expect bugs and backup the world before testing this version.

Additions

Changes

  • change: update some patches to Minecraft 1.18
  • change: remove lots of patches that are incompatible with Minecraft 1.18

The changelog is available on GitHub right here

Lithium 0.7.5

by 2No2Name on Nov 5, 2021
Download

This release adds fixes for several issues introduced in previous Lithium versions. Besides a serious chunk save format incompatibility with 1.18 snapshots, a memory leak and a mistake in the hopper logic are fixed. It is recommended that all users upgrade to this release.

Worlds that were used with Lithium will have chunk corruption when upgrading due to the breaking save format changes in the 1.18 snapshots. The datafixer responsible for upgrading to the new format is missing (MC-239610), which leads to chunk corruption and regeneration.

If you have used Lithium in the past and you want upgrade your world to Minecraft 1.18 snapshots, you need to follow these instructions for each world to avoid severe chunk corruption:

Instructions to avoid chunk corruption when updating to 1.18 snapshots:

If you are upgrading a world that has never been used with Lithium, or you are upgrading to a version that includes a fix for MC-239610, you are likely to be unaffected by this issue. If you are unsure, follow the instructions anyway.

  • Singleplayer instructions: Start the game with Lithium 0.7.5 installed. Instead of opening your world, select it in the list of worlds, press "Edit", press "Optimize World", then "Create Backup and Load". Wait for the world to load, this will take a long time depending on the world size. After closing the world you can upgrade it to a newer Minecraft version.
  • Server Instructions: Make a backup of the world. Start the game with the launch parameter --forceUpgrade=true, e.g. by launching the server.jar with java -jar server.jar --forceUpgrade=true. Wait for the world to load, this will take a long time depending on the world size. After closing the server you can upgrade it to a newer Minecraft version.

The changelog is available on GitHub right here.

Lithium 0.7.4

by 2No2Name on Aug 25, 2021
Download

The changelog is available on GitHub right here.

Lithium 0.7.3

by 2No2Name on Jul 7, 2021
Download

The changelog is available on GitHub right here.

Lithium 0.7.2

by 2No2Name on Jun 21, 2021
Download

The changelog is available on GitHub right here.

1
4
5
6

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+
Filter

Show all versions

Modrinth is open source.

new-project-page@ac78952

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.