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.
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
阿卡迪亚的天启:天选之歌
热度 754 | 1 周前更新
机械动力:航空学 - All of Create - Aeronautics
热度 733 | 1 周前更新
天空开拓者:耕云纪元
热度 617 | 1 周前更新
更好的MC Better MC [FORGE] BMC4
热度 570 | 1 周前更新
剑痕纪元
热度 2118 | 1 周前更新
咒术回战(咒术战斗) - Jujutsu Kaisen (Sorcery Fight)
热度 3661 | 2 周前更新
机械动力:工业与牧歌 - Create: Industry and Pastoral
热度 4966 | 2 周前更新
虚饰作品-Fictional
热度 5005 | 3 周前更新
猎杀:历史 1949 - Hunt: History 1949
热度 2329 | 3 周前更新
更好的MC Better MC [NEOFORGE] BMC5
热度 2522 | 3 周前更新
ATM10:空岛 - All the Mods 10: To the Sky
热度 1133 | 3 周前更新
方块宝可梦x纪元(Cobblemon x Era)
热度 5837 | 3 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!