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:
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.
Dependencies?
None.
Find more on the GitHub page.
It's also available on Modrinth.
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
神秘启旅 ~ Thaum Journey
热度 2474 | 4 天前更新
愚者 - The Fool
热度 81536 | 4 天前更新
咒术回战(咒术战斗) - Jujutsu Kaisen (Sorcery Fight)
热度 2814 | 5 天前更新
诡厄使徒:诸神黄昏
热度 189 | 5 天前更新
终焉决斗NW
热度 291 | 5 天前更新
Minecraft-摄影奇境
热度 342 | 6 天前更新
无限遗产II - Infinity Legacy II
热度 3742 | 6 天前更新
机械动力:黄铜协奏曲
热度 4220 | 6 天前更新
ATM10:空岛 - All the Mods 10: To the Sky
热度 282 | 1 周前更新
魔女之旅
热度 1157 | 1 周前更新
石头世界4 FTB StoneBlock 4
热度 4274 | 1 周前更新
通天之路
热度 1880 | 1 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!