EMC Essentials (ReFabricated)
EMC Essentials Forge 整合包的统一 Fabric 移植版 —— 将 ProjectE、Project Expansion、Arcane Tablet 等整合进一个基于 Item Alchemy 构建的单一 Fabric 模组中。
概览
EMC Essentials (ReFabricated) 将 EMC Essentials Forge 整合包的核心体验移植到了 Minecraft 1.20.1 Fabric 平台上。无需依赖十几个单独的模组,这个单一的 .jar 文件通过命令、Power Flowers(能量花)、EMC Link(EMC链接)、EMC Interface(EMC接口)、Miniature Sun(微型太阳)、HUD 显示、可配置数值以及自动注册等功能增强了 EMC 生态系统——并将 Item Alchemy 作为后端的 EMC 引擎包裹其中。
可以将其视为 Fabric 平台的 Project Expansion 等效物 —— 它是 Item Alchemy(ProjectE 的 Fabric 等效模组)的配套模组,为你提供检查、管理和扩展 EMC 生产所需的机器、工具和 QoL(生活质量)功能,且无需离开游戏。
特性
/emce 命令套件
七个用于全面控制 EMC 的子命令,加上用于余额管理的 /emce bank:
| 命令 |
功能 |
/emce help |
显示所有可用命令 |
/emce get <item> |
查询任何物品的 EMC 值 |
/emce set <item> <value> |
为物品设置自定义 EMC 值 |
/emce remove <item> |
移除自定义 EMC 覆盖值 |
/emce bank get |
查看你的 EMC 余额 |
/emce bank add <amount> |
添加 EMC(支持 K/M/B/T/Q 后缀) |
/emce bank remove <amount> |
移除 EMC |
/emce bank set <amount> |
将 EMC 余额设置为精确值 |
/emce reload |
从磁盘重新加载配置 |
/emce list |
列出所有自定义 EMC 值 |
/emce stats |
显示整体 EMC 系统统计信息 |
EMC Link
一个结合 EMC 输入 + 输出功能的装置,拥有 18 个槽位的 GUI。它将你的 Item Alchemy EMC 网络与原版容器和 Tom's Simple Storage 连接起来。
- 输入(物品 → EMC):每 5 刻扫描相邻的箱子/桶/Tom's 存储,将有 EMC 值的物品拉取到其输入缓冲区(槽位 0–8),将其转换为 EMC,并推送到连接的 Item Alchemy 电池/线缆中。
- 输出(EMC → 物品):在槽位 9–17 放置一个样本物品作为持久过滤器。每一刻它都会检查相邻存储中的 EMC,消耗 EMC,生成 1 个该物品的副本,并将其推送到相邻容器中。
EMC Interface
一个从 Ofek2608 的 Forge emc-interface 模组移植过来的 无 GUI 机械方块。使用相同的成熟插槽架构:
- 槽位 0(仅插入):具有 EMC 值的物品通过
EMCManager.setEMCtoPlayer() + syncS2C() 进行转换 —— 与 /emce bank add 的路径相同。没有 EMC 值的物品会被暂时存储,以便 Tom's 将它们路由到下一个优先级的存储,而不是直接删除。
- 槽位 1+(仅提取):每个解锁的 EMC 物品都有自己独立的槽位。数量无限(
EMC ÷ itemEMC,仅受 Java int 最大值 ~2.1B 限制)。当 Tom's 在提取后同步时,setStack() 会检测差值并自动扣除 EMC。
/team 支持:如果所有者处于原版 Minecraft 队伍中,所有在线队友的 EMC 和知识将被合并。
- 优先级设置:在 EMC Interface 旁边放置 Inventory Cable Connector(库存线缆连接器),并用空手右键点击以循环切换优先级。设置为 Highest(最高)以实现自动售卖(物品优先进入此处)。设置为 Lowest(最低)以实现拉取(在接触 EMC 之前先排空箱子)。
- 使用原版 Forge 模组的 16×48 动画纹理。
Power Flowers (MK1–MK6)
从 Project Expansion 移植的单块紧凑型 EMC 发电机。每个等级每刻生成 EMC,并将其推送到 所有者的个人 EMC 余额(通过 EMCManager.setEMCtoPlayer() + syncS2C())和相邻的 Item Alchemy 电池/线缆中。
| 等级 |
生成速率 |
材料 |
| MK1 |
4 EMC/刻 |
铁 |
| MK2 |
12 EMC/刻 |
铁 |
| MK3 |
48 EMC/刻 |
铁 |
| MK4 |
192 EMC/刻 |
钻石 |
| MK5 |
768 EMC/刻 |
钻石 |
| MK6 |
3072 EMC/刻 |
下界合金 |
每种花都有一个 10 亿 EMC 的内部缓冲池,并将放置者捕获为所有者 —— EMC 直接进入他们的银行。5 格范围内的 Miniature Sun 会使输出增加 10 倍。
Arcane Tablet
一个便携式 EMC 访问设备,源自 Projex (Project EX)。右键点击可查看你当前的 EMC 余额和已知物品数量。使用与 EMC Interface 和 /emce bank 命令相同的 EMC API 路径。EPIC(史诗)稀有度。
Miniature Sun
一种昂贵的物品,可将附近收集器和 Power Flowers 的 EMC 输出增加 10 倍。可与时间加速效果叠加。
EMC HUD
在左上角显示你的 EMC 余额,位于 FPS 和坐标下方,避免重叠。显示当前余额以及实时增量指示器:
EMC: 1,234,567 (+100 | +100/s) 绿色表示正在获得 EMC
EMC: 1,234,567 (-50 | -50/s ) 红色表示正在失去 EMC
格式化大数值:1,234 / 1.2M / 3.5B / 7.8T。
Custom EMC Config
位于 config/emcessentials.properties 的纯文本配置文件允许你定义或覆盖游戏中任何物品的 EMC 值:
# <item_id>=<emc_value>
minecraft:diamond=8192
minecraft:netherite_ingot=49152
运行 /emce reload 后更改生效(无需重启)。
依赖项
| 依赖项 |
最低版本 |
| Minecraft |
1.20.1 |
| Fabric Loader |
≥ 0.18.6 |
| Fabric API |
≥ 0.92.5+1.20.1 |
| Item Alchemy |
≥ 1.3.1 |
| MCPitanLib |
≥ 3.7.0 (建议) |
| Architectury |
≥ 9.2.0 (建议) |
所有这些都已包含在 CreateBound Prism 实例中。
安装
- 将
emcessentials-reabricated-1.3.1.jar 放入你的 mods/ 文件夹
- 确保 Item Alchemy (
itemalchemy-1.3.1.jar) 也在 mods/ 中
- 使用 Fabric Loader 0.18.6+ 启动 Minecraft
- 在游戏中运行
/emce help 以验证是否已加载
开发笔记
使用 Item Alchemy 的 API(EMCUtil$ITEM、EMCManager)在运行时读取、写入和传输 EMC 值。API 调用通过反射实现,因此如果未安装 Item Alchemy,模组不会崩溃——它只会记录警告并禁用 EMC 功能。EMC 修改直接使用 EMCManager.setEMCtoPlayer() + EMCManager.syncS2C(),与内置 /itemalchemy 命令的代码路径一致。
许可证
MIT — 你可随意使用。
EMC Essentials (ReFabricated)
A unified Fabric port of the EMC Essentials Forge Modpack — bringing ProjectE, Project Expansion, Arcane Tablet, and more into a single Fabric mod built on Item Alchemy.
Overview
EMC Essentials (ReFabricated) ports the core experience of the EMC Essentials Forge Modpack to Minecraft 1.20.1 Fabric. Instead of needing a dozen separate mods, this single .jar enhances the EMC ecosystem with commands, Power Flowers, an EMC Link, an EMC Interface, a Miniature Sun, a HUD display, configurable values, and auto-registration — wrapping Item Alchemy as the backend EMC engine.
Think of it as the Project Expansion equivalent for Fabric — a companion mod for Item Alchemy (the Fabric equivalent of ProjectE), giving you the machines, tools, and QoL features to inspect, manage, and scale your EMC production without leaving the game.
Features
/emce Command Suite
Seven subcommands for full EMC control, plus /emce bank for balance management:
| Command |
What it does |
/emce help |
Shows all available commands |
/emce get <item> |
Look up the EMC value of any item |
/emce set <item> <value> |
Set a custom EMC value for an item |
/emce remove <item> |
Remove a custom EMC override |
/emce bank get |
Check your EMC balance |
/emce bank add <amount> |
Add EMC (supports K/M/B/T/Q suffixes) |
/emce bank remove <amount> |
Remove EMC |
/emce bank set <amount> |
Set EMC balance to exact value |
/emce reload |
Reload the config from disk |
/emce list |
List all custom EMC values |
/emce stats |
Show overall EMC system statistics |
EMC Link
A combined EMC Importer + Exporter with an 18-slot GUI. Bridges your Item Alchemy EMC network with vanilla inventories and Tom's Simple Storage.
- Import (items → EMC): Scans adjacent chests/barrels/Tom's storage every 5 ticks, pulls items with EMC value into its input buffer (slots 0–8), converts them to EMC, and pushes into connected Item Alchemy batteries/cables.
- Export (EMC → items): Place a sample item in slots 9–17 as a persistent filter. Each tick it checks for EMC in adjacent storage, consumes it, generates 1 copy of the item, and pushes it to adjacent inventories.
EMC Interface
A no-GUI mechanical block ported from the Forge emc-interface mod by Ofek2608. Uses the same proven slot architecture:
- Slot 0 (Insertion only): Items with EMC value are converted via
EMCManager.setEMCtoPlayer() + syncS2C() — same path as /emce bank add. Items without EMC value are stored temporarily so Tom's routes them to the next priority storage instead of deleting them.
- Slots 1+ (Extraction only): Each unlocked EMC item gets its own slot. Quantities are unlimited (
EMC ÷ itemEMC, capped only by Java's int max ~2.1B). When Tom's syncs after extracting, setStack() detects the delta and deducts EMC automatically.
/team support: If the owner is on a vanilla Minecraft team, EMC and knowledge from all online teammates are merged.
- Priority setup: Place an Inventory Cable Connector next to the EMC Interface and right-click with an empty hand to cycle priority. Set to Highest for auto-selling (items go here first). Set to Lowest for pulling (drains chests before touching EMC).
- Uses the original Forge mod's 16×48 animated texture.
Power Flowers (MK1–MK6)
Single-block compact EMC generators ported from Project Expansion. Each tier generates EMC every tick and pushes it to both the owner's personal EMC balance (via EMCManager.setEMCtoPlayer() + syncS2C()) and adjacent Item Alchemy batteries/cables.
| Tier |
Generation Rate |
Material |
| MK1 |
4 EMC/tick |
Iron |
| MK2 |
12 EMC/tick |
Iron |
| MK3 |
48 EMC/tick |
Iron |
| MK4 |
192 EMC/tick |
Diamond |
| MK5 |
768 EMC/tick |
Diamond |
| MK6 |
3072 EMC/tick |
Netherite |
Each flower has a 1 billion EMC internal buffer and captures the placer as owner — EMC goes directly to their bank. Miniature Sun within 5 blocks boosts output 10×.
Arcane Tablet
A portable EMC access device ported from Projex (Project EX). Right-click to view your current EMC balance and known item count. Uses the same EMC API path as the EMC Interface and /emce bank commands. EPIC rarity.
Miniature Sun
An expensive item that multiplies EMC output of nearby collectors and Power Flowers by 10×. Stacks with time acceleration effects.
EMC HUD
Your EMC balance displayed in the top-left corner, positioned below FPS and coordinates so nothing overlaps. Shows your current balance plus a live delta indicator:
EMC: 1,234,567 (+100 | +100/s) in green when gaining EMC
EMC: 1,234,567 (-50 | -50/s ) in red when losing EMC
Formats large values: 1,234 / 1.2M / 3.5B / 7.8T.
Custom EMC Config
A plain-text config file at config/emcessentials.properties lets you define or override EMC values for any item in the game:
# <item_id>=<emc_value>
minecraft:diamond=8192
minecraft:netherite_ingot=49152
Changes take effect after running /emce reload (no restart needed).
Requirements
| Dependency |
Minimum Version |
| Minecraft |
1.20.1 |
| Fabric Loader |
≥ 0.18.6 |
| Fabric API |
≥ 0.92.5+1.20.1 |
| Item Alchemy |
≥ 1.3.1 |
| MCPitanLib |
≥ 3.7.0 (suggested) |
| Architectury |
≥ 9.2.0 (suggested) |
All of these are already present in the CreateBound Prism instance.
Installation
- Drop
emcessentials-reabricated-1.3.1.jar into your mods/ folder
- Ensure Item Alchemy (
itemalchemy-1.3.1.jar) is also in mods/
- Launch Minecraft with Fabric Loader 0.18.6+
- Run
/emce help in-game to verify it loaded
Development Notes
Uses Item Alchemy's API (EMCUtil$ITEM, EMCManager) to read, write, and transfer EMC values at runtime. API calls are made via reflection so the mod won't crash if Item Alchemy isn't installed — it simply logs a warning and disables EMC features. EMC modifications use EMCManager.setEMCtoPlayer() + EMCManager.syncS2C() directly, matching the same code path as the built-in /itemalchemy commands.
License
MIT — do what you want with it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧