Integrated Dynamics

Integrated Dynamics

88M Downloads

Pulling out a stack of batteries from the storage terminal clears them

alxgnon opened this issue ยท 2 comments

commented

Issue type:

  • ๐Ÿ› Bug

Short description:

Given an Energy Battery with some charge and an Energy Battery with no charge in the same storage, linked with an item interface to a storage terminal, it appears as a stack of two batteries with 0 charge. Taking them from the storage terminal yields two batteries with 0 charge.

Steps to reproduce the problem:

  1. Get two Energy Batteries (1,000,000 RF each); a regular Minecraft chest; a Storage Terminal; a Logic Cable and an Item Interface.
  2. Connect the Storage Terminal to the chest with the Cable and Item Interface.
  3. Charge one battery a little bit (For example, with a generator and a piece of coal, or I suppose grabbing a fully charged one from creative mode).
  4. Put the uncharged battery in the first slot and the charged battery in the second slot of the chest.
  5. Access the Storage Terminal. You should see a stack of two batteries at 0 RF.
  6. Click on the batteries to pull them out of the Storage Terminal. Both batteries are now at 0 RF.

Try the same thing but put a charged battery in the first slot and an uncharged battery in the second slot, and when you pull them out you will have effectively doubled the charge of the first battery.

Expected behaviour:

I noticed that if I put the batteries in different chests things are handled better i.e. the charge gets shared between the batteries in the stack. That would be the ideal behavior.


Versions:

Mods installed

  • commoncapabilities-1.21.1-neoforge-2.9.11.jar

  • cyclopscore-1.21.1-neoforge-1.26.1-796.jar

  • integratedcrafting-1.21.1-neoforge-1.2.3.jar

  • integrateddynamics-1.21.1-neoforge-1.27.8.jar

  • integratedterminals-1.21.1-neoforge-1.6.14-529.jar

  • integratedtunnels-1.21.1-neoforge-1.8.42.jar

  • Minecraft: 1.21.1

  • Mod loader version: NeoForge 21.1.194

commented

This will be fixed in the next CommonCapabilities release.
For existing worlds, it will require manual removal of $.energy from ignoreNbtPathsForEqualityFilters in the CommonCapabilities config file.

commented

Thanks for reporting!