Modrinth · Fabric, Forge, NeoForge · Client mod

BadOptimizations

BadOptimizations is a client-side mod. Install it on your computer; the server does not need it.

Optimization mod that focuses on things other than rendering

Downloads
48.8M
Author
thosea
Loader
Fabric, Forge, NeoForge
Minecraft
1.19.1 – 26.3
Updated
–

Setup

Install BadOptimizations on your client

Client-side mods only run on your computer. More server RAM does not change their performance.

  1. 01

    Install the loader locally

    Install Fabric or Forge or NeoForge for your Minecraft version in your launcher.

  2. 02

    Download the file

    Download the BadOptimizations file for your loader and your exact Minecraft version, for example 26.3.

  3. 03

    Add it to the mods folder

    Put the .jar file in your local .minecraft/mods folder and remove older duplicates.

  4. 04

    Launch

    Launch Minecraft with the loader profile. Nothing needs to change on the server.

On the server
Not needed
On the client
Required
Loader
Fabric, Forge, NeoForge
Minecraft
26.3, 26.2, 26.1.2 +24 more
License
MIT License

Releases

Published releases

Pick the file that matches your server’s loader and Minecraft version. The server and players need the same release.

BadOptimizations · Modrinth
Original description by the project author

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.

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

  • Sky color calculation optimizations (1.21.10 and below)


    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.

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:


My mod is incompatible!

You can mark your mod as incompatible with specific BadOptimizations options. If your mod is present, BadOptimizations will automatically disable the specific options you specify.
You can also add hooks that tell BadOptimizations when the lightmap or sky color needs to be updated instead of adding a hard incompatibility to the caching optimizations.

Dependencies?

None.

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

FAQ

BadOptimizations questions

Question not listed? Ask our team.

Does BadOptimizations need to be installed on the Minecraft server?

No. Modrinth marks BadOptimizations as unsupported on the server side. Install it only in your local mods folder. Your server can stay unchanged unless the project page lists an additional dependency.

Which version and loader does BadOptimizations require?

Use a file for Fabric, Forge, NeoForge and your exact Minecraft version. Supported versions include 26.3, 26.2, 26.1.2. Files for different loaders are not interchangeable.

BadOptimizations is not working – what should I check?

First check the Minecraft version, loader version and required dependencies. Because the mod is client-side, more server RAM will not fix it.

Looking for mods for your own server?

The catalog lists mods that run on Minecraft servers.

Browse all mods