跳到正文

Retro FastSuite

作者:Sosea1

Fast recipe lookup for large Minecraft Forge 1.12.2 modpacks.

收藏

介绍

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

Retro FastSuite improves recipe lookup performance in large Minecraft Forge 1.12.2 modpacks.

The mod builds a conservative index of loaded recipes and uses it to skip recipes that cannot match the current crafting grid. Recipe matching itself is still performed by Forge: IRecipe.matches() remains the final authority, and recipes that cannot be classified safely stay on the normal fallback path.

This keeps recipe order and crafting behaviour intact while making broad lookups and failed matches much less expensive.

Compatibility

  • FastWorkbench
  • Universal Tweaks Crafting Cache
  • RetroPolymorph (WIP)

Performance

The bundled benchmark was run against 24,325 loaded recipes. Times below are the average per lookup in microseconds; lower is better. Results depend on the modpack, JVM, hardware, and lookup pattern.

Workload Retro FastSuite Vanilla scan Speedup
All matches: acacia planks 520.19 µs 7,743.59 µs 14.89×
All matches: sticks 567.16 µs 8,343.35 µs 14.71×
All matches: crafting table 431.73 µs 7,165.15 µs 16.60×
All matches: black shulker box 467.59 µs 7,798.17 µs 16.68×
Failed lookup 711.77 µs 11,476.92 µs 16.12×
First failed lookup 533.79 µs 12,280.99 µs 23.01×

The implementation is tested against ordered vanilla-style recipe scans, including positive cases, negative cases, alternative matching stacks, and randomized grids.

Installation

Place Retro FastSuite in the mods folder.

Requires MixinBooter

Source and license

Source: github.com/Sosea1/Retro-FastSuite

Retro FastSuite is based on FastSuite by Shadows of Fire and is distributed under the MIT License.

常见问题

Retro FastSuite 支持哪些 Minecraft 版本?

Retro FastSuite 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Retro FastSuite 怎么安装?

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

评论

登录后评论和评分