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

BadOptimizations

Optimization mod that focuses on things other than rendering

7.62M
1,426
Optimization
AboutChangelogVersions

BadOptimizations

A collection of mostly micro optimizations that add up to something bigger!

What does it do?

Multiple things:

  • Avoid updating lightmap

    Updating lightmap textures are one of the most expensive parts of the client tick. During each tick, the client will do vector math to calculate lightmaps for blocks and the sky, then upload that new texture to the GPU. However, this can be completely avoided and cached if nothing affecting block brightness has changed. This mod will cancel lightmap updates if nothing that changes block brightness (e.g. gamma slider, potion effects, dimension) has changed.

  • Sky color calculation optimizations

    Minecraft uses a cubic color sampler every frame to calculate the current sky color. This function loops 216 times to factor in surrounding biomes, even if all surrounding biomes are identical or have identical sky colors. This mod makes the color sampler only used if you are between biomes with different sky colors, and caches it for each tick. Otherwise, a shorter, simpler and faster sky color calculation is used.

  • Don't do debug logic if we don't need to

    Minecraft has four debug renderers that can be activated with a debug server: bees, game events, game test and villager AI. Even if there's nothing to process, the logic for these debug renderers are still executed. This mod will only execute them if debug is enabled and there is data from the server to process.

That's a few of them, at least. You can disable any optimization in the config file if you need to.

How much does it help?

Depends on your system and luck, but on my own PC, an RTX 3060, intel i7 12700 and 4GB of allocated ram on Fabulously Optimized:

Without toasts, it goes from 1926-1955 FPS:

To 2008-2023 FPS:

And with toasts, it goes from 1351-1384 FPS:

To 1414-1458 FPS:

Dependencies?

None.

(Also available on CurseForge, if that's your thing.)

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.1–1.20.6
1.19.1–1.19.4

Platforms

Fabric
Forge
NeoForge

Supported environments

Client-side

Links

Report issues View source

Creators

thosea
thosea Owner

Details

Licensed MIT
Published last year
Updated last month

Modrinth is open source.

main@58dac27

© 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.