FastFurnace

FastFurnace

115609266 次下载
最近更新9 个月前
熔炉的性能升级。 A performance upgrade for the furnace.

关于

快速熔炉(FastFurnace)利用混入(mixins)技术来修改熔炉、高炉和烟熏炉的功能,提升它们的TPS性能(并非熔炼速度!)

与快速工作台(FastWorkbench)类似,它会缓存上次使用的配方,并在重新扫描整个注册表之前首先检查此配方。由于原版熔炉每次刻都会扫描整个熔炉注册表,在原版环境中这可能没问题,但在模组环境下,注册表很快就会变得非常庞大,所以这种方式要快得多。

这些改动适用于熔炉、高炉和烟熏炉。任何使用抽象熔炉方块实体(AbstractFurnaceTileEntity)的模组也会因安装此模组而受益。

对于喜欢数据的人,这里有原版与快速熔炉的对比。测试过程中,9个熔炉始终在熔炼圆石。为了不使数据有偏差,调用次数大致保持相同。此测试在原版环境中进行,原版只有约70个熔炉配方。在一个整合包中,配方数量可能多达700个,这将显著提升性能增益。

也一定要看看快速工作台和Toast控制(Toast Control)!

联系

Discord:https://discord.gg/wdvU5Yz


About

FastFurnace utilizes mixins to edit the functionality of the Furnace, Blast Furnace, and Smoker, improving their TPS performance (not smelting speed!)

Similar to FastWorkbench, it caches the last recipe used, and checks this recipe first before re-scanning the entire registry.  This is significantly faster due to the vanilla furnace scanning the entire furnace registry each tick, which may be fine for vanilla, but in a modded environment, gets very large very quickly.

These changes apply to the Furnace, Blast Furnace, and Smoker.  Any mod utilizing AbstractFurnaceTileEntity will also receive the benefits of having this mod installed.

For people who like numbers, here is Vanilla vs FastFurnace.  This is 9 furnaces each smelting cobblestone the entire time the test was conducted.  The number of invocations is kept roughly the same as to not skew any numbers.  This test was conducted in vanilla, which only has ~70 furnace recipes.  In a modpack, there could be upwards of 700, significantly increasing the performance gain.

Be sure to also check out FastWorkbench & Toast Control!

Contact

Discord: https://discord.gg/wdvU5Yz

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

评论区 (0)

登录 后才能发表评论

暂无评论

快来发表第一条评论吧!