Applied Energistics 2

Applied Energistics 2

137M Downloads

ME Chests of same priority can't tell when another ME Chest already has an item

eferwalt opened this issue ยท 1 comments

commented

Describe the bug

In an ME Drive, items will be placed in the first available item cell, unless there's already that item elsewhere. For example, if you have a stack of bread in item cell 2, and deposit more bread into a terminal, it will not go into the drive's first item cell -- it'll go into item cell 2.

If you do the same experiment but across ME chests of the same priority, the network appears to select a ME chest at random and will always deposit the bread into that one, even if there's already bread in another. This is very inconvenient for specifically my ME-chest based setup, which has network-deposited items going wherever they want.

How to reproduce the bug

  1. Place two ME chests (of the same priority) in a creative world, with a creative energy source and a terminal, to make a small network.
  2. Put any two new item storage cells into the ME chests. (This includes portable item cells. I haven't tested fluid cells.)
  3. Deposit a stack of bread into the terminal, and observe which ME chest it chooses.
  4. Take the bread directly out of that ME chest, and place it directly in the other ME chest.
  5. Now insert another stack of bread into the terminal.

You will now have two stacks of bread, one in each chest, splitting your bread storage, and leaving your bakery in ruin!

Expected behavior

Maybe this is an established part of the AE2 ecosystem, but I would expect an ME chest network to be able to "see" existing items and add to those stacks.

Additional details

Am using a few other mods (notably the Create mod and Farmer's Delight) but none of them should affect AE2 ME chest priority.
AE2 Fabric 15.0.14

Which minecraft version are you using?

1.20

On which mod loaders does it happen?

Fabric

Crash log

https://pastebin.com/b2QF4L7s

commented

Just confirmed, still a problem in Fabric 15.0.15