Mineuniverse
Log in Register
Mods

Anacondy

A low-level optimisation mod that allows Java to perform deeper optimisations throughout the game by giving it stronger guarantees about effective constants
by Paint_Ninja
Download Claim this project
504 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Performance

Straighten those snakes!

Anacondy is an optimisation mod that rewrites accesses of effectively immutable fields in various parts of the game to use 'CONDY' (CONSTANT_Dynamic) instructions, allowing Java to more confidently perform constant folding optimisations.

In other words, Anacondy gives Java stronger guarantees that certain things never change after the game has started, allowing the Java runtime to better optimise everything that touches those things and to do it sooner, which improves performance.

Where will I see the benefits? What's the catch?

Those that have a slow CPU, using integrated graphics and/or are memory bandwidth constrained should see the most benefit from this mod.

This mod is still a work in progress so it doesn't optimise as deeply as it theoretically could. Performance and stability should improve overtime in future releases as I figure out how to constant fold more complicated cases in a somewhat generic fashion.

Nevertheless, over a thousand different code paths in the game are at least partially optimised with this mod, where ordinarily Java would either never optimise, or at least not be able to until the game has been running for long enough for it to be confident enough to try.

Unlike some other performance mods, I deliberately don't change any of the game's existing logic to achieve these optimisations, so mod compatibility should theoretically be pretty decent. That also means it should also be acceptable for use in speedruns where game accuracy is important (check with the moderators first, of course).

Versions and other loaders

The initial release is for Forge 1.21.11. I plan on supporting other versions and loaders once I've added more optimisations and cleaned up the internal workings. Let me know in the comments which version and loader you'd like me to port to first when the time comes.

Why the name?

It's a play on words of anaconda and condy - the latter of which is shorthand for the key Java runtime feature this mod uses to achieve its optimisations.

The snake-like name came to me while watching Indiana Jones recently and how the way snakes move are a somewhat good representation of the indirection this mod tries to fix… without this mod, lots of the game's code paths have to wind through different places left and right checking things just in case they might change (even though they never will), but with the mod it knows these things won't change and can take straighter, more direct routes.

Disclaimer

This is an early alpha version. A lot of the changes made to the game are done by hand to help improve mod compatibility and stability, however it lacks real-world testing. Please report any issues you find on the issue tracker.

Anacondy-0.3.0-alpha
MC Client, Forge, Server, 1.21.11
Beta 2026-01-03 Get

More from Paint_Ninja

Japanese Emoji Commands
9,600
Swift
5,118
FPS Display Doubler
4,983
Ninja's Cash
41,823
Presence Footsteps (Forge)
33,835,854
CrayTokens Lite
3,031

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