RFTools

RFTools

74M Downloads

CoFHLib Requirement

Shahelion opened this issue ยท 13 comments

commented

Is there a reason it requires CoFHLib specifically, instead of just the RF API?

commented

What version of RFTools? RFTools just needs CoFHCore but not CoFHLib

commented

Yeah it's fine, I was just wondering why it needed it. I was just trying to avoid the CoFH mods before because I had no use for any of them.

commented

Well I need the RF API and that can be found only in CoFHLib. So yes this is needed

commented

But several other mods also include the RF API, why not just have the API itself be a dependency instead of a specific mod?

For example, EnderIO. This was brought up before with Modular Powersuits, they had been relying on CoFHCore instead of just the RF API, but in an odd way that not having CoFHCore didn't cause a crash, it simply made the powersuits incompatible with every other mod's RF-based energy systems. Fixed now, so they can be charged with stuff like EnderIO and AE2.

At least this triggers a crash instead of just failing integration, which I find preferable (first time a crash is preferred over the alternative? lol)

commented

The RF API is part of CoFHLib. So if you want the RF API as a dependency you need a dependency on CoFHLib

commented

Latest version from curseforge for 1.7.10 as of yesterday.

CoFHCore includes CoFHLib but I had neither before. Is there a reason it needs the coremod beyond the RF API?

commented

The error message definitely said it needed lib not core.

commented

Sorry that's what I meant. I mean that RFTools requires CoFHLib (not core). So that should be fine right?

commented

Except that this is the first mod using RF I've encountered other than the CoFH mods themselves that require CoFHCore or CoFHLib.

EnderIO, AE2, Immersive Engineering, Enhanced Portals, Buildcraft, Forestry, Railcraft. All of them use RF, none have the dependency. Those are just the ones in my current modlist from a quick scroll-through.

commented

Weird... Well I have no idea how these do it then...

commented

Some are. Some just look for the API in any mod.

commented

They are shipping the RF API with their mod.

commented

Well that ends up confusing. In the end there is something that has to implement it. And personally I think that's the job of CoFHLib. Other mods shouldn't do that IMHO