Home›Java›Mods›Mine Flux API
Mine Flux API
ModsJava

Mine Flux API

Java mod listed for Minecraft 1.18. Downloads from the MC Java Mods app on Android.

by KernelPanic · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.18–1.18.1 · Fabric⬇ Download for 1.18–1.18.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Mine Flux

 

Mine Flux API is a cross platform energy api that aims to bridge the gap between forge energy and fabric. The forge version is completely compatible with existing forge energy systems. the fabric version brings its own version of energy that behaves exactly the same way as the forge version.

 

The unit is MF and the conversion ratio is 1 MF = 1 FE = 1 RF

 

THIS MOD REQUIRES ARCHITECTURY API

 

For developers wishing to use this api:

Your BlockEntity must implement IMFContainer and return the IMFStorage for the side. you will have to check if the Object parameter is an instance of Side.

for Forge BlockEntities, you must also use the Forge Energy Capability and feed it your IMFStorage based on the Side. Don't worry MFStorageForge implements both IMFStorage and forge's IEnergyStorage

On the forge side you can get the IMFStorage using Forge Energy capability. on fabric side you cast the BlockEntity/Item to IMFContainer and call getStorageFor() and pass in a Side/ItemStack. There are some

helper methods for this in EnergyUtil

 

This mod now adds an example block and item. they are fully functional so they can be used in survival :)

 

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more