Automated Redstone

Automated Redstone

145k Downloads

[Feature request] Voidcraft power reading

Austin5003 opened this issue ยท 2 comments

commented

I would like to see the energy sensor be able to read voidic power (sadly, it doesn't use forge caps) from voidcraft machines and cables

Mod: https://minecraft.curseforge.com/projects/voidcraft
Api: https://minecraft.curseforge.com/projects/tammodized

commented

Seems like VoidCraft doesn't provide an official EnergyAPI but it uses an interface for it's TileEntities which I can access with Java-reflections to read out the Energy values.
Java-reflections are not that super performance friendly but it should work and it saves me from having yet another mod dependency to maintain.

My library which contains the Energy-API handlers for all the supported other mods, translates everything into Joules where 1kJ is equivalent to 1 tick of furnace fuel burn time.
So what could be a reasonable power conversion ratio, because I have never played with VoidCraft so far?

commented

Never mind I just set it to 1.0 and made it adjustable via config.