跳到正文

AutoEMC

作者:Dnydd

Fill missing ProjectE EMC values with recipe checks, fallback pricing, safety reports, and settings for modpacks.

收藏

介绍

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

AutoEMC

Automatic, safe EMC value generation for ProjectE.

AutoEMC scans your modpack’s item registry and recipes on startup and fills in missing ProjectE EMC values automatically, so you’re not stuck with a Table of Existence full of “unlearnable” items. It’s built for large kitchen-sink modpacks where manually pricing every item is unrealistic.

Download · Discord · Source code

What you can do

  • Solves EMC from recipes first. AutoEMC walks your loaded recipes and derives EMC values from known inputs before ever guessing, so pricing stays internally consistent wherever possible.
  • Falls back intelligently when there’s no recipe. Items with no recipe path are priced using:
  • Bundled baseline values pulled directly from ProjectE Integration’s shipped data (Botania, EnderIO, and dozens of other mods).
  • Material/tag-based fallback (ore, ingot, dust, block, raw forms, etc.), matched against forge, mekanism, create, and other configurable tag namespaces.
  • Rarity-based fallback as a last resort, with a reverse-recipe floor so cheap raw materials can’t end up worth less than the processed goods made from them.
  • Understands NBT-tagged items. A pluggable NBT material resolver framework (with built-in support for things like Avaritia singularities) prices NBT-variant items based on their embedded material, instead of lumping them all into one generic value. This can run both as a pre-scan pass and as a live ProjectE conversion source that resolves on demand.
  • Protects the economy from itself. Several safety layers work together:
  • Creative-only and no-recipe technical items are locked to 1 EMC so they can never become a cheap source of infinite value if they somehow leak into survival.
  • A large-drop guard blocks any single-run change that would crash an already-priced item’s value by more than a configurable ratio, and logs it to a quarantine report instead of silently applying it.
  • An ownership arbiter decides, item by item, whether AutoEMC should keep tracking a value or hand it off to ProjectE/a pack author’s manual entry — so legitimate overrides are respected but ProjectE simply echoing AutoEMC’s own last value can’t cause ownership (and the entry) to be deleted.
  • Batched and adaptive. Every scan phase runs in small, adaptively-sized chunks across ticks instead of freezing the server on startup, even on packs with thousands of items.
  • Transparent. Every generated value is logged with its source (baseline, tag-material, rarity-fallback, reverse-recipe-floor, creative-no-recipe, etc.), and the mod writes out diagnostic reports each scan:
  • generated_entries.json — everything AutoEMC currently owns
  • underpriced_inputs_report.json — non-owned items that look priced too low relative to what they’re used to craft
  • quarantined_drops.json — value changes that were blocked for looking unsafe

Pricing precaution: Review generated EMC values before using them in a modpack. Fallback prices are estimates and may need balance changes.


Install, update, and check compatibility

Requirements

  • Minecraft 1.16.5, Forge
  • ProjectE (required)
  • ProjectE Integration (required — AutoEMC’s bundled baseline data is sourced from it, and it must be present for those integrations to actually function in-game)

Configure and customize

Configuration highlights

All of the following are configurable in autoemc-common.toml:

  • scanNbtVariants — scan NBT-tagged item variants (on by default)
  • useNbtMaterialResolvers / useLiveNbtMaterialResolution — enable material-aware NBT pricing, pre-baked and/or live
  • giveCreativeNoRecipeItemsOneEmc — toggle the creative-item safety floor (on by default)
  • largeDropProtectionThreshold / maxAllowedDropRatio — tune the large-drop guard
  • ownershipSmallDifferenceRatio — how much difference between AutoEMC’s and ProjectE’s value counts as “just noise”
  • tagFallbackNamespaces — which tag namespaces are checked during material fallback
  • consistencyWarnMinRatio / consistencyWarnMinAbsoluteDelta — thresholds for the underpriced-input report

Backups and recovery

Before updating or changing settings

Back up your world and configuration files before making changes. Keep a copy of the old instance until you have checked that the updated setup works.


Troubleshooting, logs, and technical details

Notes

  • AutoEMC never overwrites a value that’s already correctly priced by ProjectE or a pack author unless it’s confident the change is safe.
  • If you’re auditing a pack’s economy, the debug log and JSON reports in config/autoemc/ are the fastest way to see exactly what was priced, how, and why.

Get help

Use Discord or the issue tracker. Include your Minecraft version, mod loader, project version, and steps to reproduce the problem.


About this mod

Author and links

I create and maintain AutoEMC as Dnydd (formerly known as dklyntly).

GitHub source · My CurseForge projects

Read the full license and the terms included with your version before editing or redistributing files. Permissions granted with earlier releases remain in effect.

Support my work

If you enjoy my projects, you can support my work through Ko-fi or PayPal. Support is always optional.

Support me on Ko-fi Support via PayPal

常见问题

AutoEMC 支持哪些 Minecraft 版本?

AutoEMC 支持 Minecraft Java 版 1.12.2–1.21.11,共 19 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

AutoEMC 怎么安装?

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

评论

登录后评论和评分

Dnydd 的其他作品

查看全部 →