Перейти к содержимому
Mineforgian

BadOptimizations

Optimization mod that focuses on things other than rendering

33.1M загрузок3K подписчиковMITfabricforgeneoforge

Обновлён 16 июня 2026 г. · опубликован 3 декабря 2023 г.

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

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
2.4.1Релиз26.2fabric16 июня 2026 г..jar (59 КБ)
2.4.1Релиз26.2neoforge16 июня 2026 г..jar (60 КБ)
2.4.1Релиз26.1, 26.1.1, 26.1.2fabric29 марта 2026 г..jar (60 КБ)
2.4.1Релиз26.1, 26.1.1, 26.1.2neoforge29 марта 2026 г..jar (61 КБ)
2.4.1Релиз1.21.11fabric, neoforge16 декабря 2025 г..jar (263 КБ)
2.4.1Релиз1.21.10fabric, neoforge15 декабря 2025 г..jar (274 КБ)
2.4.1Релиз1.21.6, 1.21.7, 1.21.8fabric, neoforge15 декабря 2025 г..jar (277 КБ)
2.4.1Релиз1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, neoforge15 декабря 2025 г..jar (276 КБ)
2.4.1Релиз1.21.1fabric, neoforge15 декабря 2025 г..jar (277 КБ)
2.4.1Релиз1.20.5, 1.20.6fabric, neoforge15 декабря 2025 г..jar (277 КБ)
2.4.1Релиз1.20.2, 1.20.3, 1.20.4fabric, neoforge15 декабря 2025 г..jar (299 КБ)
2.4.1Релиз1.20.1fabric, forge15 декабря 2025 г..jar (449 КБ)
2.4.0Релиз1.21.10fabric, neoforge27 ноября 2025 г..jar (276 КБ)
2.4.0Релиз1.21.6, 1.21.7, 1.21.8fabric, neoforge27 ноября 2025 г..jar (279 КБ)
2.4.0Релиз1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, neoforge27 ноября 2025 г..jar (278 КБ)

Показаны последние 15 из 137 версий. Все версии — на Modrinth.

Ченджлог

2.4.1Релиз26.2 · 16 июня 2026 г.

6/16/26:

  • Port to 26.2

3/25/2026:

  • Port to 26.1
  • Fabric and NeoForge variants are no longer combined into one jar
    • This may revert in the future

Version 2.4.1:

  • Migrate to Mojang Mappings
  • Change some comments in the config file
  • Update to 1.21.11
    • Sky color is now data driven making sky color caching infeasible so it's been removed
    • Lightmap caching remains but no longer directly uses time as a factor, so lightmap_time_change_needed_for_update no longer has any effect
    • These changes don't apply to 1.21.10-
2.4.1Релиз26.2 · 16 июня 2026 г.

6/16/26:

  • Port to 26.2

3/25/2026:

  • Port to 26.1
  • Fabric and NeoForge variants are no longer combined into one jar
    • This may revert in the future

Version 2.4.1:

  • Migrate to Mojang Mappings
  • Change some comments in the config file
  • Update to 1.21.11
    • Sky color is now data driven making sky color caching infeasible so it's been removed
    • Lightmap caching remains but no longer directly uses time as a factor, so lightmap_time_change_needed_for_update no longer has any effect
    • These changes don't apply to 1.21.10-
2.4.1Релиз26.1, 26.1.1, 26.1.2 · 29 марта 2026 г.

3/25/2026:

  • Port to 26.1
  • Fabric and NeoForge variants are no longer combined into one jar
    • This may revert in the future

Version 2.4.1:

  • Migrate to Mojang Mappings
  • Change some comments in the config file
  • Update to 1.21.11
    • Sky color is now data driven making sky color caching infeasible so it's been removed
    • Lightmap caching remains but no longer directly uses time as a factor, so lightmap_time_change_needed_for_update no longer has any effect
    • These changes don't apply to 1.21.10-
2.4.1Релиз26.1, 26.1.1, 26.1.2 · 29 марта 2026 г.

3/25/2026:

  • Port to 26.1
  • Fabric and NeoForge variants are no longer combined into one jar
    • This may revert in the future

Version 2.4.1:

  • Migrate to Mojang Mappings
  • Change some comments in the config file
  • Update to 1.21.11
    • Sky color is now data driven making sky color caching infeasible so it's been removed
    • Lightmap caching remains but no longer directly uses time as a factor, so lightmap_time_change_needed_for_update no longer has any effect
    • These changes don't apply to 1.21.10-
2.4.1Релиз1.21.11 · 16 декабря 2025 г.

Version 2.4.1:

  • Migrate to Mojang Mappings
  • Change some comments in the config file
  • Update to 1.21.11
    • Sky color is now data driven making sky color caching infeasible so it's been removed
    • Lightmap caching remains but no longer directly uses time as a factor, so lightmap_time_change_needed_for_update no longer has any effect
    • These changes don't apply to 1.21.10-
2.4.1Релиз1.21.10 · 15 декабря 2025 г.

Version 2.4.1:

  • Migrate to Mojang Mappings
  • Change some comments in the config file
  • Update to 1.21.11
    • Sky color is now data driven making sky color caching infeasible so it's been removed
    • Lightmap caching remains but no longer directly uses time as a factor, so lightmap_time_change_needed_for_update no longer has any effect
    • These changes don't apply to 1.21.10-
2.4.1Релиз1.21.6, 1.21.7, 1.21.8 · 15 декабря 2025 г.

Version 2.4.1:

  • Migrate to Mojang Mappings
  • Change some comments in the config file
  • Update to 1.21.11
    • Sky color is now data driven making sky color caching infeasible so it's been removed
    • Lightmap caching remains but no longer directly uses time as a factor, so lightmap_time_change_needed_for_update no longer has any effect
    • These changes don't apply to 1.21.10-
2.4.1Релиз1.21.3, 1.21.4, 1.21.5 · 15 декабря 2025 г.

Version 2.4.1:

  • Migrate to Mojang Mappings
  • Change some comments in the config file
  • Update to 1.21.11
    • Sky color is now data driven making sky color caching infeasible so it's been removed
    • Lightmap caching remains but no longer directly uses time as a factor, so lightmap_time_change_needed_for_update no longer has any effect
    • These changes don't apply to 1.21.10-

Полная история изменений — на Modrinth.

Комментарии

Загружаем…