BetterFps是一款Minecraft模组,它添加了一些性能优化,力求与其他模组兼容。
如果你有开启和未开启本模组的对比截图,请私信发给我。
这些截图已过时,从那时起已有许多改进。
改进内容
所有改进都可以在配置文件(config/betterfps.json)或选项菜单(选项 -> BetterFps选项)中启用或禁用(对于旧版本,在游戏中按F12)。
算法
更改sin()和cos()算法。有7种算法。每种算法可能对你有帮助,也可能没有,这实际上取决于你电脑的硬件。
目前,它与FpsPlus过去的做法非常相似,但它不会编辑基类。
我计划扩展这部分内容,不是增加更多算法,而是基于基准测试生成算法。
对客户端和服务器端都有影响。
内存预分配
移除10MB的随机存取存储器(RAM)预分配。添加此预分配是为了防止玩家在内存不足的情况下启动游戏,但此预分配会一直保留,直到内存几乎达到极限。这主要是为使用模组包的玩家而设,因为他们可能存在内存问题。如果你有足够的内存,这对你来说几乎没用。
仅影响客户端。
雾效
移除雾效。雾效会造成大量卡顿,为什么不添加一个移除它的选项呢?
仅影响客户端。
信标光束
移除光束的透明层。当有大量信标时,这可能会有所帮助。
实验性的 - 我仍在测试它是否真的对玩家有帮助,我可能会将其移除。
仅影响客户端。
快速漏斗
漏斗的优化程度很低,它们在无需拾取物品时仍会不断检查。只需在其顶部放置一个完整的实心方块,它就会停止寻找要拾取的物品。
最近,Forge添加了新的能力API,这迫使我移除了其他改进。我可能会在未来重新实现它们。
仅影响服务器端。
快速信标
信标的优化程度也很低,代码会处理一些不必要的内容。不仅从性能角度重新编写了代码,还对其进行了整理,使其仅在需要时处理相关内容。
对客户端和服务器端都有影响。
快速搜索
创造模式下的搜索功能优化程度极低,在大型模组包中,在文本输入框中按下任意键都会使游戏卡顿片刻。这项改进实现了一种智能搜索算法,可重复使用旧的搜索结果来进行新的搜索。它还会阻止任何非字母数字键(如shift)更新搜索。
它还支持多线程/异步搜索:这将防止搜索时出现卡顿峰值。
仅影响客户端。
安装
针对Minecraft Forge的安装
- 找到游戏安装文件夹
- 将模组文件放入mods文件夹
注意:由于Forge缺少一项功能,该模组不会出现在模组列表中。自从这个模组诞生以来,我就一直在尝试将此功能添加到Forge中,但这取决于Forge的开发者,而不是我 :/
如果你想检查模组是否已安装,可以打开选项菜单,那里应该有一个BetterFps按钮。
针对Minecraft原版的安装
- 双击模组文件打开安装程序
- 点击“安装”
- 根据你的偏好更改安装目录、版本和配置文件。
- 打开/重启Minecraft启动器
- 开始游戏 :)
模组包
如果你注明我的名字(Guichaguri)并附上此页面链接,就可以将这个模组添加到你的模组包中。
你 只能 在模组包中分发此模组。请勿重新发布此模组或声称拥有所有权,所有版本仅上传至CurseForge。
兼容性
- Optifine:当算法未设置为“原版”时,会覆盖快速数学运算。
- Fastcraft:完全兼容
- FpsPlus+:BetterFps将覆盖FpsPlus的正弦和余弦改进。
源代码 | MCF主题帖
如果你在使用这个模组时遇到问题,请在此处报告。
BetterFps is a Minecraft mod that add a few performance improvements, trying to be compatible with other mods.
If you have two screenshots comparing with and without, PM me.
These screenshots are outdated and many improvements have been implemented since then.
Improvements
All improvements can be enable or disabled in the config file (config/betterfps.json) or in the options menu (Options -> BetterFps Options) (For older versions, press F12 while in game).
Algorithm
Changes sin() and cos() algorithm. There are 7 algorithms. Each one of them may or may not help you, it really depends on the hardware of your computer.
Currently, it's pretty similar from what FpsPlus used to do, but it doesn't edit base classes.
I have plans to expand this, not in more algorithms, but in algorithm generation based on benchmarks.
Affects both client-side and server-side.
Memory Preallocation
Removes a RAM preallocation of 10MB. This allocation was added to prevent players from starting the game with low memory, but this allocation is kept until its almost the memory reaching its limit. This was made just for players using modpacks, where memory might be a problem. If you have enough memory, this is pretty much useless for you.
Only affects client-side.
Fog
Removes the fog. The fog creates a lot of lag, why not add an option to remove it?
Only affects client-side.
Beacon Beam
Removes the transparent layer of the beam. It might help it when there's a lot of beacons.
Experimental - I'm still testing if it actually helps anyone, I might remove it.
Only affects client-side.
Fast Hopper
Hoppers are very unoptimized, they keep checking for items to pickup when there's no need for it. Simply putting a solid full block on top of it stops looking for items to pickup.
Recently, Forge has added the new capability API, which forced me to remove others improvements. I might reimplement them in the future.
Only affects server-side.
Fast Beacon
Beacons are also unoptimized, the code processes stuff that it didn't need to. Not only it was recoded thinking in performance, the code was also organized for processing stuff only when it needs to.
Affects both client-side and server-side.
Fast Search
The creative mode search is really unoptimized, in big modpacks, the pressing any key in the text input would freeze the game by a few moments. This improvement implements a smart search algorithm, reusing old results for new searches. It will also prevent any non-alphadecimal key (such as shift) from updating the search.
It also supports multithreaded/asynchronous searches: they will prevent lag spikes from happening when searching
Only affects client-side.
Installation
Installation for Minecraft Forge
- Find the game installation folder
- Drop the mod file in the mods folder
Note: The mod will not appear in the mod list due to a missing feature in Forge. I've been trying to add this feature to Forge for about as long as this mod exists, but this is up to Forge devs, not me :/
If you want to check if the mod is installed, you can open the options menu, it should have a BetterFps button in there.
Installation for Minecraft Vanilla
- Double click the mod file to open the installer
- Click "Install"
- Change the installation directory, version and profile according to your preferences.
- Open/Restart the Minecraft Launcher
- Play the game :)
Modpacks
You may add this mod to your modpack if I'm credited (Guichaguri) and you link this page.
You can only distribute the mod in modpacks. Do not repost this mod or claim ownership, all versions are only uploaded to CurseForge.
Compatibility
- Optifine: Overwrites Fast Math when the algorithm is not set to "Vanilla"
- Fastcraft: Full
- FpsPlus+: BetterFps will override FpsPlus sine & cosine improvements
Source Code | MCF Thread
If you have issues with this mod, report here.
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
通天之路
热度 321 | 4 天前更新
匠途闲境 - Create Craft & Quiet
热度 217 | 4 天前更新
VERITY.exe
热度 380 | 6 天前更新
咒术回战(咒术战斗)
热度 68991 | 6 天前更新
暮色森林精选 - The Best of Twilight Forest
热度 25624 | 6 天前更新
无限计划 0.1 - Project Infinity 0.1
热度 9753 | 6 天前更新
黑暗RPG - DarkRPG - Forge
热度 9620 | 6 天前更新
[TLWS]末世生辉 The Last World Shines
热度 9421 | 6 天前更新
简易小屋
热度 645 | 2 周前更新
灾厄巫咒
热度 673 | 2 周前更新
阿卡迪亚的天启
热度 2872 | 2 周前更新
寄生仙途
热度 805 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!