Robotic Parts

Robotic Parts

2M Downloads

Charger does not accept RF

mallrat208 opened this issue ยท 3 comments

commented

@Optional.Interface(iface = "cofh.api.energy.IEnergyReceiver", modid = "CoFHAPI|energy")

This is preventing RF from working with the Charger. The modid for the Optional.interface on line 29 needs to be lowercase.

commented

As a heads up, while the change I said worked in 1.11.2, it may not work now.

Redstone Flux is it's own thing now and as such the Interface we need has changed. Functionally it's the same however.

We need to ensure that the following is in the build.gradle

repositories {
    maven {
        name = "CoFH Maven"
        url = "http://maven.covers1624.net"
    }
}

dependencies {
    deobfCompile "cofh:RedstoneFlux:1.12-2.0.0.1:universal"
}

and update the @Optional.Interface to the following

@Optional.Interface(iface = "cofh.redstoneflux.api.IEnergyReceiver", modid = "redstoneflux")
commented

i've pushed this change to the 1.12 branch

commented

As one more rider to this issue, we need to remove the old RF API and imports. Ran into that while testing out the GUI stuff