Quests Freeze Fix

Quests Freeze Fix

11761729 次下载
最近更新9 个月前
Caches the FTB Quests menu on startup to prevent freezing...

This is a simple fix mod for FTB Quests that caches the Quests menu on startup to prevent freezing in game. Tested in packs such as Prominence II RPG, where it prevents a 10 second lag spike when opening the quest book for the first time.

 

How does this work?

FTB Quests needs to initialize Minecraft's Creative mode text search provider, which is not done by default in survival Minecraft since it's never used. This involves looping over every item in the game, fetching all of the tooltip contents, and processing them all. In large modpacks, with lots of items and quests, this scales up exponentially with more mods that add more text to items.

This mod can't fix that, as it's actually important that all of that gets cached so that things work properly. But, what it can do is cache it on startup while the user is still in a loading screen, so that once they're in game, there won't be any random freezing. This adds a couple seconds to loading times (depending on how long the freeze would have been) but saves the headache of having the game randomly freeze during gameplay.

本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。

评论区 (0)

登录 后才能发表评论

暂无评论

快来发表第一条评论吧!