▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Modern industrialization FE compat
Modern industrialization FE compat

Modern industrialization FE compat

NeoForge addon for Modern Industrialization. Make MI electric network compatible with FE network.

Оцените первым
354
1

MI-FE-Compat

Bridges Modern Industrialization (EU) and NeoForge Forge Energy (FE) — allowing FE generators to power MI cables and FE cables to connect to MI machines.


What it does

MI machines only speak the MI energy API (EnergyApi.SIDED). Mods speak NeoForge FE (IEnergyStorage). Without this mod, the two systems are invisible to each other. MI-FE-Compat registers two transparent bridges so energy flows freely in both directions.


Two bridge directions

DirectionUse case
FE → MIFE generators (Mekanism, Thermal, etc.) supply power to MI cables
MI → FEFE cables (Mekanism Universal Cable, PowerGrid) connect to MI machines

Both bridges are registered via NeoForge's RegisterCapabilitiesEvent and cached by BlockCapabilityCache — they are created once per block position on cache miss, not every tick. A shared recursion guard (ThreadLocal) prevents infinite loops when the two bridges would otherwise trigger each other.


Configuration

No separate config file. The EU ↔ FE conversion ratio is read directly from Modern Industrialization's own config (forgeEnergyPerEu, default: 1 EU = 10 FE). Changing the ratio in MI's config automatically applies to this mod.


Commands

All commands require permission level 0 (any player).

/mifecompat status
Shows how many bridges have been created for each direction. Use this to verify the mod is working after placing cables.

/mifecompat check
Inspects the 6 blocks adjacent to your position and reports which energy APIs each one exposes: [FE] (NeoForge), [GP] (GrandPower), [MI] (Modern Industrialization).

/mifecompat scan
Scans a 5-block radius around you and lists all energy-capable block types found. Useful for diagnosing why a connection is not forming.


Compatibility

Tested with Modern Industrialization 1.7+, Mekanism, and PowerGrid on NeoForge 21.1 (Minecraft 1.21.1). Any mod that uses standard NeoForge IEnergyStorage should work automatically.

Does not conflict with GrandPower-based bridges already built into MI — this mod only activates for blocks that MI does not natively handle.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Зависимости

Ссылки

Создатели

Детали

Лицензия:
Опубликован:1 месяц назад
Обновлён:1 месяц назад
Главная