StorageDrawers icon indicating copy to clipboard operation
StorageDrawers copied to clipboard

Duplication Glitch with AE2 Mod in 1.21

Open Nifiore opened this issue 7 months ago • 1 comments

Technically not really duplication in the strictest sense, but this bug allows the player to convert any item into any other item, provided they have at least 1 of the thing they want more of.

This bug only requires AE2 and Storage Drawers

Fill a 1x2 or 2x2 storage drawer with a large amount of any item in any slot except the first slot. Let's call this item 1. I used stone. Attach an import bus to that drawer and set it to blacklist only item 1 and fill it with acceleration cards. Hook the network up to some type of storage so the import bus will actually pull items. I used a second drawer. Place 1 item that you want more of in a drawer slot before that of item 1.

The minimum condition for this to work seems to me that the import bus attempts to pull more of item 2 than is in the drawer and starts pulling item count from item 1 instead, resulting in the creation of more item 2.

I have provided some pictures to help. In this set of pictures, I placed a single diamond block in the top left slot of the 2x2 drawer and it imported 96 diamond blocks into the 1x1 drawer while decreasing the quantity of stone by 95.

Crash Report: https://pastebin.com/HQKif1Tv

Image Image Image Image Image

Nifiore avatar Jul 13 '25 05:07 Nifiore

The corresponding issue in the AE2 tracker is https://github.com/AppliedEnergistics/Applied-Energistics-2/issues/8592

We were visited by an AI bot yesterday that provided an analysis of the problem from both sides, maybe this can help you a bit. I‘m not sure however if the suggestion of not applying the slot reordering has any side-effects, but maybe it is a starting point for further investigation.

Mithi83 avatar Jul 14 '25 08:07 Mithi83

Just wanted to add a note that this also affect's Minecraft 1.20.1 versions:

AE2 - appliedenergistics2-forge-15.4.10.jar Storage draws - StorageDrawers-forge-1.20.1-12.14.3.jar

Terminal-Access avatar Jan 30 '26 20:01 Terminal-Access