CottonMC / Vivatech

Classic technologies rethought

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Energy Banks have infinite energy when given power through a conduit

Super-Shadow opened this issue · comments

When using an energy conduit to link an energy bank and a coal generator together, the energy bank appears to have 1J stored, but it never depletes. Not only that, but the coal generator keeps getting depleted of energy, though the Energy Bank's joules never increase. This allows for infinite energy and is overpowered. This 1J can be taken out of the Energy Bank by using a Battery. Placing the Battery back into the Energy Bank will give it infinite energy again. This only happens when using a conduit to connect them together as placing them side by side works normally.

Steps to reproduce the behaviour:

  1. Place a Coal Generator down and connect it to an Energy Bank via an Energy Conduit
    image
  2. Place coal in the Coal generator
    image
    image
  3. Destroy the Coal Generator and replace it with a machine
    image
  4. Observe the machine be fully powered while the Energy Bank stays at 1J
    image
    image
  • vivatech-1.0.0-alpha.10+1.14.4
  • cotton-1.0.0-rc.2
  • cotton-resources-1.3.3+1.14.3
  • cotton-energy-1.5.0+1.14.3-SNAPSHOT
  • fabric-api-0.3.0+build.200
  • libblockattributes-all-0.4.9
  • LibGui-1.1.0
  • Jankson-1.0.0+j1.1.2
  • Minecraft - fabric-installer-0.5.0.33

Upon further testing, it seems like the energy bank's stored energy does not decrease when energy is being transferred via a conduit.

Hi! Thank you for submitting an issue. I am aware of Conduits stupidity; I am working on a full revamp right now.

P.S. You only need Fabric API and Cotton, else is included :)

Ahh right thank you for the advice!

Thank you for your contribution! It is really important for me to get constructive feedback. Feel free to reopen it if you encounter the issue again