Simple FE Cables dont work
mcenderdragon opened this issue ยท 2 comments
Describe the bug
Flux Plugs only work if the cable is implementing also the Forge Capability
To Reproduce
try to push energy into the flux plug, it will only accept it if your tile also has a ForgeEnergy Capability, because else no ConnectionTransfer instacne is created and only 0 energy will be accepted.
Expected behavior
the code path of the https://github.com/SonarSonic/Flux-Networks/blob/1.16/src/main/java/sonar/fluxnetworks/common/connection/transfer/ConnectionTransfer.java#L38 needs the connection for the on energy received callback. I would suggest adding a blank ConnectionTransfer class as the Forge Energy System is a push system.
It behaves like other mods, I don't think it should be considered as an issue. Just like energy pipes from other mods, they don't build the connection if it's a random block, but the one has ForgeEnergy capability.
I may give users a manual way to build the connection, if they don't have.
Well as a user this results in not being able to properly connect these blocks. Bheaving Like others is not always good (imagine what would happen when everyone would drive a car like they ones around them). Also when other mods behave this way its even worse and all of them breaking the way the Forge Energy Capabilities are intended. But thanks for considering to enhance this.