Mine Flux API
No reviews yet
Cross platform energy api that is compatible with forge energy and works on both forge and fabric
Does not follow a specific thematic focus apart from vanilla Minecraft.
Used for mods with little to no gameplay elements.
Features machines that produce and store energy or resources.
Provides a framework or library for other mods to use.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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 :)
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers