AE2-UEL / Applied-Energistics-2

AE2UEL, a Fork of a Minecraft Mod about Matter, Energy and using them to conquer the world.
https://legacy.curseforge.com/minecraft/mc-mods/ae2-extended-life
Other
74 stars 71 forks source link

Accelerated Export Bus With Storage Bus misplacing items #441

Closed Redderpears closed 4 months ago

Redderpears commented 4 months ago

When exporting to an almost full inventory (the export bus would not need to export a full stack) from a storage bus set to extract only attached to an inventory, the export bus places the excess back into the system's drives instead of only taking what's necessary to fill the inventory.

Describe the bug

I noticed this during a Nomifactory playthrough, but this is likely isolated to the mod. When an accelerated exporter attempts to completely fill an inventory, if the inventory cannot fit the entire export, the rest of the items are placed back into the ME system's drives instead of remaining in the inventory connected to the storage bus.

To Reproduce

All that is needed is a ME system with or without disk storage, a storage bus set to extract only hooked up to a full inventory, and an exporter with acceleration cards into another full inventory (pictured in screenshot). Taking a single item out of the inventory with the exporter will cause the exporter to fill it, but the rest of the items are placed back into the system's disks. If the system has no disks, the items are voided. Expected behavior

Instead of placing the items in the system's disks, they should remain in the inventory. If an export bus only exports one item, it should only take one item from the storage bus's inventory, instead of placing the other 95 back into the system's storage. The items should also definitely not be voided if there is no disk space available. Additional context

image (export bus fully upgraded with acceleration cards, storage bus set to extract only)

Environment

Tested on Nomifactory dev-b171236 Tested on both a world in progress and a new Lost Cities world.

Tested on Nomifactory singleplayer with version v0.56.4