跳到正文

FastSuite [FABRIC]

作者:1Influence

A performance upgrade for the JSON recipe system. [Unofficial Port]

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

About

This is an unofficial port of FastSuite to Fabric for Minecraft 1.21+. The original mod was developed by shadows_of_fire for Forge/NeoForge.

FastSuite enables faster execution of recipe matching through the use of concurrency. For any recipe type with more than 100 recipes, FastSuite will enable Concurrent Recipe Matching, and use multiple threads to match all recipe combinations, instead of relying on a single thread to perform this work. This was observed to produce a 10x – 12x speedup in All The Mods 8, as shown below:

[Multithreaded Test] – Took an average of 301960.28 ns to find the recipe for acacia planks

[Singlethreaded Test] – Took an average of 2774185.5 ns to find the recipe for acacia planks

[Multithreaded Test] – Took an average of 494851.94 ns to find the recipe for sticks

[Singlethreaded Test] – Took an average of 4500045.0 ns to find the recipe for sticks

[Multithreaded Test] – Took an average of 148572.14 ns to find the recipe for crafting table

[Singlethreaded Test] – Took an average of 3246270.5 ns to find the recipe for crafting table

[Multithreaded Test] – Took an average of 370346.56 ns to find the recipe for black shulker box

[Singlethreaded Test] – Took an average of 4711380.0 ns to find the recipe for black shulker box

[Multithreaded Test] – Took an average of 701000.56 ns to find the recipe for failed match

[Singlethreaded Test] – Took an average of 1.3034094E7 ns to find the recipe for failed match

Recipe types that exhibit problems with Concurrent Recipe Matching can be blacklisted in the configuration file. As compared to the previous iterations of FastSuite, the concurrent matching model is more compatible (it works with Polymorph installed), and it always works (whereas the old model did not work if there was substantial recipe churn and did not work on the first match). It also is a bit less brittle, because it does not need to write any data during matching, which could cause issues if mods were matching recipes off-thread.

Compatibility

This mod should work completely with all other mods. It is made to be non-intrusive, and should not conflict with anything short of another mod also replacing the recipe manager. It has been tailored such that it should work with recipe modification mods such as KubeJS and CraftTweaker, and it does not cause any issues with JEI.

This mod does not replace FastWorkbench or FastFurnace, though their benefits will be lessened if this is installed, as some of the work will be offloaded to FastSuite. To receive maximum performance with regards to recipes, I still advise having both of them installed, but if you had to pick just one, it should be FastSuite over either of the others.

常见问题

FastSuite [FABRIC] 支持哪些 Minecraft 版本?

FastSuite [FABRIC] 支持 Minecraft Java 版 1.21.1–1.21.11,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

FastSuite [FABRIC] 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

1Influence 的其他作品

查看全部 →