跳到正文

Factory Gauge Enhance

作者:Ender_Bryce

Modify the Factory Gauge's maximum number of crafting‑material sets per requested package to 64 when in Mechanical Craft mode (was 1 set).

收藏

介绍

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

This mod is an add‑on (or rather, an optimisation) for the Create mod. It only takes effect when the Factory Gauge is set to the Mechanical Craft mode.

It modifies the Factory Gauge so that, when using Mechanical Craft mode, the maximum number of crafting‑material sets contained in a single requested package is increased to 64 (originally it was only 1 set).

The packages it sends are exactly the same as those generated by the JEI‑to‑Create‑inventory method (i.e. holding Shift and clicking the “+” button) – i.e. packages that contain up to 64 sets of crafting ingredients – and they are fully recognisable by the Re‑Packager.

Here is how the mod works, using the Piston as an example. Suppose the inventory contains 200 Redstone Dust, 150 Iron Ingots, 400 Cobblestone, and 270 Planks. The Factory Gauge is set to keep 105 pistons in stock, and there are already 5 pistons in the inventory.

First, it calculates the required number: 105 − 5 = 100 pistons. It then takes the modulo of 100 by 64, giving 1 remainder 36. Next, it checks whether the available raw materials are sufficient to craft all 100 pistons. In this case, the planks are insufficient; the materials can only produce 90 pistons at most.

Consequently, the mod will instruct the Factory Gauge to request one (or more, depending on how the materials are distributed across one or multiple containers) package that contains:

1 × 64 Redstone Dust,

1 × 64 Iron Ingots,

4 × 64 Cobblestone,

3 × 64 Planks,
which exactly fills all 9 slots of the package.

After the default time interval of the vanilla Create mod has passed, it will then send another (or more) package containing:

26 Redstone Dust,

26 Iron Ingots,

4 × 26 Cobblestone,

3 × 26 Planks.

No further packages will be sent until the inventory has been replenished with fresh materials.

常见问题

Factory Gauge Enhance 支持哪些 Minecraft 版本?

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

Factory Gauge Enhance 怎么安装?

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

评论

登录后评论和评分