
创建:生产线
让顺序装配再次伟大!将任何模组的配方转换为原生的机械动力JSON,以实现真正的自动化装配线。
Create: Production Line / 机械动力:产业线
EN — A Create addon for Minecraft 1.21.1 / NeoForge. Point it at any recipe (vanilla, Create, another mod), and it writes native Create recipe JSON at runtime, drops the files into a world datapack and reloads that datapack. The target item can then be produced by a real Create production line.
中文 — 面向 Minecraft 1.21.1 / NeoForge 的 Create 附属模组。配方不管来自原版、Create 还是别的 mod,都能在游戏内实时转成 Create 原生配方 JSON 写进世界数据包,再 /reload 一次,目标物品随后就能沿一条真实 Create 产线生产出来。
前置需求 / Prerequisites
- Create
6.0.10+(必需 / Required)- JEI
19.x(可选 / Optional, 仅配方查看 / recipe viewing only)
模块 / Modules
产线计算机 / Production Computer
- EN — 3 slots side by side (target item / blank Line Scheme carrier / optional paper). On Compute, the server re-derives from the live RecipeManager, writes a single-layer plan + embedded Create recipe JSON onto the carrier, and injects the build guide.
- 中文 — 3 格并排(目标物品 / 空白产线方案载体 / 可选纸)。点【计算】时服务端拿实时 RecipeManager 重推导,把单层直连方案 + 内嵌 Create 配方 JSON 写入载体,并注入施工指引。
产线方案 / Line Scheme
- EN — Carries LineScheme NBT (Version/RecipeId/OutputItem/BaseMaterial/Steps[] + embedded CreateRecipes), activatable by the loader, readable by the dismantler.
- 中文 — 携带 LineScheme NBT 数据,可被加载柜激活、被破拆机读取。
方案加载柜 / Scheme Loader
- EN — 16 slots (2×8), accepts only genuine LineSchemeItem. Re-derives this cabinet's contribution server-side from each scheme's recipeId, writes the cpl_converted union and runs /reload. Emits redstone while recipes are active.
- 中文 — 16 格(2×8),只收真方案物品。放入即按 recipeId 在服务端重推导本柜贡献,写入并集并自动 /reload。有生效配方时输出红石信号。
破拆机 / Dismantler
- EN — 2 slots. Refunds unfinished intermediates (base + materials consumed so far) or finished products (full inverse batch), resolved server-side. Places a read-only mirror.
- 中文 — 2 格。未完成的中间产物退还基底及已消耗原料;成品按逆运算退款。配方由服务端解析,并生成只读镜像。
通用中间产物 / Generic Intermediate
- EN — Sequenced-assembly transitional item, carries progress component.
- 中文 — 序列装配过渡物,带进度组件。
产线方案镜像 / Line Scheme Mirror
- EN — Read-only display snapshot. Structurally cannot be activated or fed back to the dismantler.
- 中文 — 只读展示快照,结构上不可激活、不可复喂破拆机。
快速使用 / Quick start
1. 计算 / Compute
- EN — The computer GUI has 3 slots side by side (target item / Line Scheme / paper). Put the target in slot 1 and a blank Line Scheme in slot 2. Slot 3 is optional paper. Press Compute.
- 中文 — 计算机 GUI 的 3 个槽位并排(目标物品 / 产线方案 / 纸)。目标物品放第 1 格,第 2 格放空白产线方案(第 3 格可选放纸)。点击【计算】。
2. 激活 / Activate
- EN — Put the written Line Scheme into any slot of a Scheme Loader (multi-slot/multi-cabinet). The server re-derives the recipes from recipeId, writes the datapack and reloads automatically.
- 中文 — 把写好的产线方案放入方案加载柜任意格(可多格/多柜)。服务端按 recipeId 重推导配方写入数据包并自动 /reload。只有真正的产线方案物品才能激活。
3. 搭建 / Build
- EN — Feed the base first; one Deployer per extra material (USE mode, facing DOWN above the belt, holding that material); the product rolls out at the end.
- 中文 — 基底先上带;每种追加原料一台机械手(USE 模式、朝下置于传送带上方、手持对应原料);跑完 roll 出成品。
4. 拆解/镜像 / Dismantle & Mirror
- EN — The dismantler refunds materials and produces a read-only mirror.
- 中文 — 破拆机还原原料并生成只读镜像。
配方转换规则 (概要) / Recipe conversion rules
- 单机工艺 / Single-machine processes
- EN: Turns into flat
create:<type>recipes (crushing/milling/mixing/pressing/cutting…), via the category→facility dictionary. - 中文: 转成扁平
create:<type>配方,机器按映射字典 category→facility 查。
- EN: Turns into flat
- 合成与装配 / Crafting and assembly
- EN: Goes to
create:sequenced_assembly— ingredient=base, transitional_item=Generic Intermediate, one deploying step per extra material. - 中文: 走
create:sequenced_assembly— ingredient=基底,transitional_item=通用中间产物,每个追加原料一个 deploying 步。
- EN: Goes to
- 原生 Create 配方 / Native Create recipes
- EN: Additionally gets a non-conflicting cpl sequence recipe, with the original left in place.
- 中文: 额外生成一份不冲突的 cpl 序列配方,原配方保持不变。
- 标签保真 / Tag fidelity
- EN: Source tags are written verbatim as
{"tag":…}, so any tag member matches. - 中文: 源配方的 tag 原样写成
{"tag":…},同标签下任何成员都能匹配。
- EN: Source tags are written verbatim as
- 同源列表 / One shared list
- EN: Plan and embedded recipe share ONE JSON-ordered, tag-preserving material list, preventing base/step mismatches.
- 中文: 方案与内嵌配方共用同一份 JSON 保序、保标签材料列表,杜绝基底和步骤错位。
多人服安全 (防注入) / Multiplayer Security
- EN — NBT-carrying items can be forged by modified clients on survival servers. Therefore, this mod is rebuilt around one rule: the server is the only authority. The loader re-derives recipes server-side without trusting client JSON; the dismantler strictly validates inputs before refunding; the mirror is structurally non-executable. Forging a scheme to print valuable materials is impossible.
- 中文 — 方案、镜像这类存 NBT 的物品在多人服上会被改包客户端伪造。为此本模组按"服务端为唯一权威"重构:加载柜在服务端重推导配方,不信任方案内嵌 JSON;破拆机权威退款,严格校验输入;镜像纯文本化不可执行。"伪方案刷贵重原料"这条路已被堵死。
已知边界 / Known limits
- EN — Sequence lines consume 1 unit of each material per step. That is cheaper than the source grid when a material repeats, and the line still produces output.
- 中文 — 序列产线每种材料每步耗 1 个。源网格里同一种材料要多个时,这么算反而省料,产出照旧。
- EN — Results carry item id + count only, so recipes with NBT/enchantments/state yield the "plain" variant.
- 中文 — 结果只记 item id+count,所以带 NBT/附魔/状态的产物一律是"素体"。
- EN — Multi-level intermediates are not recursed into a single scheme by default. Compute each stage, then activate them together as a union in the 16-slot loader for an end-to-end line.
- 中文 — 多级中间物默认不递归进单份方案。分几个方案算,再一起放进 16 格柜做并集激活,就能拼出端到端线。
- EN — Single-material recipes are converted through a semantic single-machine choice (wood → saw, ore → crushing wheel, organic → millstone, metal/gem → press). The machine is a heuristic, not a faithful simulation of the original recipe. The only refusals with "cannot convert" are targets already produced by a native Create process, and recipes with no usable materials.
- 中文 — 单一材料配方走的是"按材料语义挑一台机器"(木→锯、矿→粉碎轮、有机物→石磨、金属/宝石→压片机)。机器是启发式选的,不是原配方的忠实模拟。报"无法转换"的只有两种:目标已由 Create 原生工艺产出,或配方没有可用材料。
- EN — The dismantler refunds what it can materialize (
#tag→ first member), and refuses without consuming when nothing can be refunded. - 中文 — 破拆机只退还它真能具现出来的材料(
#tag→ 首个成员);完全退不出时不消耗物品。 - EN — Create
assets/is All Rights Reserved: this mod only "runtime-references" its GUI/textures and never bundles copies. - 中文 — Create
assets/为 All Rights Reserved:本 mod 只"运行时引用"其 GUI/贴图,不打包复制。 - EN — Every texture and icon in this project is original artwork drawn by the author; the mod bundles no third-party assets.
- 中文 — 本项目的全部贴图与图标都是作者原创手绘,模组不打包任何第三方素材。
更多开发细节、无头自检结果 (13 项)、版本规范以及开源协议信息,请参见 https://github.com/Es-254/Create-ProductionLine
正在加载版本记录…
正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。