Skip to content

Recipe Editing Workshop

A visual GTCEu recipe editor for modpack creators that lets you browse, create, edit, disable recipes, and export them as KubeJS scripts. 面向整合包作者的可视化 GTCEu 配方编辑器,支持浏览、新建、修改、禁用配方并导出为 KubeJS 脚本。

Forge
Loaders
Forge
Downloads on Modrinth
16
Followers on Modrinth
0
version
1
Updated
October 7, 2026Oct 7
Published
in 2026

At a glance

Runs on Forge
For Minecraft 1.20.1
Works on either side — install it in the game, on the server, or both
Latest version — 0.3.4 from October 7, 2026
License MIT — free
Where it's needed
In gameoptionalOn serveroptional

Works both in the game and on the server — install where you need it

Game versions1.20.1

Recipe Editor Workshop (REW) is a visual recipe editing tool for modpack authors, targeting the recipe system of GregTech CEu Modern. The mod opens a graphical interface via in-game commands, allowing you to browse the recipe library, create and modify recipes, disable unwanted recipes, and export your edits as KubeJS scripts.

The mod does not add any items or blocks; all functionality is implemented through the graphical interface and commands.

Requirements

  • Minecraft 1.20.1
  • Forge 47.4.22 or above
  • GregTech CEu Modern 7.5.3 or above
  • LDLib 1.0.40 or above
  • nova_mainlib 0.1.1 or above
  • KubeJS 2001 or above (optional, only required when exporting scripts)

Commands

CommandDescription
/rewOpens the main recipe editor interface
/rew gtmOpens the recipe overview, where you can multi-select recipes to disable or restore
/rew reloadRescans the recipe library
/rew saveWrites the disabled list and drafts to disk
/rew kjsexptExports edited recipes as KubeJS scripts
/rew infoOutputs the current index status

Recipe Editor Workshop interface

The left side of the interface shows the list of recipe types, and the right side shows the recipes of the selected type. Both columns can be searched by Chinese name, pinyin, or ID. A scrollbar is provided on the right side of each list and can be dragged directly. Right-clicking any recipe type creates a new empty recipe of that type.

Each row in the recipe list displays the icon of the recipe's first output on the left. Items use their own textures, and fluids use their own textures.

All recipe types share the same editing interface, which consists of three tables: the input table on the left, the output table on the right, and the conditions table below. Each table is divided into item and fluid sections, where entries can be added and removed individually, and amounts and output chances can be configured. At the top of the interface, you can set the recipe duration, input power, and current.

The conditions table lists all additional conditions of the recipe. Condition contents are stored in GregTech's own serialization format, so condition types added by other mods are also supported.

Recipe Overview

Displays all recipes of a given recipe type as a multi-select list. Left-click to multi-select, press Del to disable the selected entries, press Ins to restore the selected entries, and right-click a single recipe to toggle its enabled state directly.

Disabled recipes are not loaded into the game, and neither machines nor JEI will display them anymore, but their full contents remain saved in the configuration files and can be restored at any time.

Data Storage

Editing data is stored in the config/rew/ directory under the game directory:

  • snapshot.json: recipe library snapshot cache, used to speed up subsequent startups
  • disabled.json: list of disabled recipe IDs
  • drafts/: newly created and modified recipes, one file per recipe
  • export/: KubeJS export results

Implementation

The mod hooks into the recipe generation process through GregTech CEu Modern's official addon interface IGTAddon, and does not contain any Mixins.

Disabling recipes is implemented through IGTAddon#removeRecipes; matched recipes are removed during the loading stage and do not enter the game's recipe table. New and modified recipes are injected through IGTAddon#addRecipes, using the same datapack pathway as GregTech's own generated recipes, so running /reload applies them.

Recipe scanning is performed on the client side, reading the recipe library already synced to the client and caching it locally. The server does not participate in the editing process.

Configuration

config/rew.yaml provides the following options:

  • enableEditor: whether to enable the /rew editor, enabled by default
  • useSnapshotCache: whether to reuse the recipe snapshot cache, enabled by default
  • alwaysRescan: whether to rescan on every startup, disabled by default
  • kubejsExportDir: KubeJS script export directory, defaults to kubejs/server_scripts/rew

New in 0.3.3

  • Special support for GT programming circuits in GTM
  • NBT is now allowed on both inputs and outputs
  • Items can be selected from the inventory as inputs or outputs

![NBT and inventory selection support]

Performance Reference

  • Reference machine: i5-12400 / 8G DDR4-3200 / UHD730
  • Launcher: PCL2
  • Memory allocation: 2G (-Xms2G -Xmx2G)
  • Additional optimization mods: Embeddium, Fast Tag, KAllFix
  • Actual experience: with sufficient memory, no stuttering occurred when selecting recipe types with 6K+ recipes

中文版

配方编辑工坊(Recipe Editor Workshop,简称 REW)

面向整合包作者的可视化配方编辑工具,以 GregTech CEu Modern 的配方体系为编辑对象。模组不添加任何物品与方块,全部功能通过图形界面与指令实现。


基本信息

项目要求
Minecraft1.20.1
Forge47.4.22 及以上
GregTech CEu Modern7.5.3 及以上
LDLib1.0.40 及以上
nova_mainlib0.1.1 及以上
KubeJS2001 及以上(可选,仅在导出脚本时需要)

模组通过游戏内指令打开图形界面,可用于浏览配方库、新建与修改配方、禁用不需要的配方,并可将编辑结果导出为 KubeJS 脚本。


指令

指令作用
/rew打开配方编辑器主界面
/rew gtm打开配方总览,可多选后禁用或恢复
/rew reload重新扫描配方库
/rew save将禁用表与草稿写入磁盘
/rew kjsexpt将编辑过的配方导出为 KubeJS 脚本
/rew info输出当前索引状态

界面说明

主界面

界面左侧为配方类型列表,右侧为该类型的配方列表,两列均可按中文名、拼音或 ID 搜索。列表右侧带有滚动条,可直接拖动。右键任意配方类型可新建该类型的空配方。

配方列表每一行左侧显示该配方首个产出的图标:物品使用物品自身的贴图,流体使用流体自身的贴图。

配方编辑器界面

配方编辑界面

所有配方类型共用同一套编辑界面,由三张表组成:

  • 左侧输入表
  • 右侧输出表
  • 下方条件表

每张表分为物品与流体两段,可分别添加与删除条目,并设置数量与产出概率。界面顶部可设置配方耗时、输入功率与电流。

条件表列出该配方的全部附加条件,条件内容以 GregTech 自身的序列化格式保存,因此其他模组新增的条件类型同样可用。

配方总览

以多选列表的形式展示某个配方类型的全部配方:

  • 左键点击:多选
  • Del 键:禁用选中项
  • Ins 键:恢复选中项
  • 右键单条配方:直接切换其启用状态

被禁用的配方不会被加载进游戏,机器与 JEI 都不会再显示它们,但其完整内容仍保存在配置文件中,可随时恢复。


数据与实现

数据存储

编辑数据保存在游戏目录下的 config/rew/ 目录中:

文件/目录说明
snapshot.json配方库快照缓存,用于加快后续启动
disabled.json被禁用的配方 ID 列表
drafts/新建与修改后的配方,一条配方一个文件
export/KubeJS 导出结果

实现方式

模组通过 GregTech CEu Modern 官方提供的附属模组接口 IGTAddon 接入配方生成流程,不包含任何 Mixin。

  • 禁用配方:通过 IGTAddon#removeRecipes 实现,命中的配方在加载阶段被移出,不进入游戏的配方表。
  • 新增与修改配方:通过 IGTAddon#addRecipes 注入,与 GregTech 自身生成配方使用同一条数据包通路,因此执行 /reload 即可生效。

配方扫描在客户端进行,读取客户端已同步的配方库并缓存到本地,服务端不参与编辑过程。


配置项

config/rew.yaml 提供以下选项:

选项说明默认值
enableEditor是否启用 /rew 编辑器开启
useSnapshotCache是否复用配方快照缓存开启
alwaysRescan是否每次启动都重新扫描关闭
kubejsExportDirKubeJS 脚本导出目录kubejs/server_scripts/rew

0.3.3 追加功能

  • 对 GTM 中的编程电路进行特殊适配;
  • 允许输入和输出都带有 NBT;
  • 允许从背包中选取物品作为输入或输出。

![0.3.3 功能示意]


性能参考

项目配置
参考机器i5-12400 / 8G DDR4-3200 / UHD730
启动器PCL2
内存分配2G(-Xms2G -Xmx2G)
额外优化模组Embeddium、Fast Tag、KAllFix
实际体感内存充足的情况下,选择带有 6K+ 的配方类型未出现卡顿

相关链接

FAQ

How to install Recipe Editing Workshop?

Install Forge for your Minecraft version, download Recipe Editing Workshop for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Recipe Editing Workshop support?

Recipe Editing Workshop has builds for Minecraft 1.20.1.

Is Recipe Editing Workshop needed on the server?

Works on either side — install it in the game, on the server, or both

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More