Mine Flux API
Energy systems in Minecraft mods have always been a bit of a headache. Forge has its own energy network, Fabric has its own approach, and getting them to talk to each other is often more trouble than it is worth. That is exactly where Mine Flux API comes in. It is a cross-platform energy API that aims to bridge the gap between Forge Energy and Fabric, giving mod developers and players a single, consistent unit to work with.
What Mine Flux API Actually Does
The core idea is simple: one energy unit to rule them all. Mine Flux uses MF as its unit, and the conversion ratio is refreshingly clean: 1 MF = 1 FE = 1 RF. That means Redstone Flux, Forge Energy, and Mine Flux all line up perfectly, so you never have to do awkward mental math when moving power between machines from different mods.
The Forge version is completely compatible with existing Forge energy systems. If you already have a setup running on Forge Energy, Mine Flux slots right in without breaking anything. The Fabric version brings its own implementation of energy that behaves exactly the same way as the Forge version, so the experience stays consistent no matter which loader you prefer.
Supported Versions and Loaders
Mine Flux API is built for both major mod loaders, with dedicated builds for Forge and Fabric across modern Minecraft versions. Because the API targets current releases, it is worth checking the file list for the exact Minecraft version and loader combination you run before you grab it. The mod also requires Architectury API, which handles the cross-platform plumbing behind the scenes, so make sure that dependency is present in your mods folder.
For Players: An Example Block and Item
You do not need to be a developer to get something out of this mod. Mine Flux API now adds an example block and an example item, and both are fully functional. That means you can use them in survival, wire them into your existing power setups, and see the energy system working in practice. It is a handy way to test whether your Forge Energy or Fabric energy infrastructure is behaving as expected before you commit to a bigger build.
For Developers: Working With the API
If you are writing mods, the API is straightforward once you understand the pattern. Your BlockEntity must implement IMFContainer and return the IMFStorage for the side in question. You will need to check whether the Object parameter is an instance of Side, since side-specific storage is central to how the system works.
For Forge BlockEntities, you must also use the Forge Energy Capability and feed it your IMFStorage based on the Side. The good news is that MFStorageForge implements both IMFStorage and Forge's IEnergyStorage, so you do not have to write a separate wrapper. On the Forge side you can retrieve the IMFStorage through the Forge Energy capability. On the Fabric side, you cast the BlockEntity or Item to IMFContainer and call getStorageFor(), passing in a Side or an ItemStack. There are helper methods in EnergyUtil that cover the common cases, which saves a fair amount of boilerplate.
- Implement IMFContainer on your BlockEntity and return IMFStorage per side.
- Use the Forge Energy Capability on Forge and feed it your IMFStorage.
- On Fabric, cast to IMFContainer and call getStorageFor() with a Side or ItemStack.
- Lean on EnergyUtil helpers to reduce repetitive code.
When you are ready to download Mine Flux API, the foxygame.net launcher makes the whole process painless: it pulls Mine Flux API straight from its curated add-on catalog and installs it in one click, dependencies included. That is a welcome shortcut compared to manually tracking down Architectury API and matching loader builds.
How to Install Mine Flux API for Minecraft
Installation follows the usual mod workflow. First, confirm you are running a Forge or Fabric profile that matches the Mine Flux API build you intend to use. Next, install Architectury API, since the mod will not load without it. After that, drop the Mine Flux API jar into your mods folder alongside Architectury, then launch the game and verify that the example block and item appear in the creative menu. If you are setting up a server, install the same files on both client and server to avoid connection issues.
Why the Bridge Matters
Cross-loader compatibility is one of the most persistent friction points in modded Minecraft. Players switch between Forge and Fabric packs, developers maintain parallel codebases, and energy networks rarely speak the same language. Mine Flux API reduces that friction with a shared unit and a shared storage interface, keeping the conversion ratio at a clean 1:1:1 so nothing gets lost in translation.
Final Thoughts
Mine Flux API is a focused, practical tool. It does not try to reinvent energy in Minecraft; it simply makes Forge Energy and Fabric energy interoperable while giving developers a clean interface to build against. Whether you are a player who wants a working example block in survival or a modder tired of writing the same storage code twice, this API earns its place in your loadout. Grab Architectury API, pick the right build for your loader and Minecraft version, and let the energy flow.