Create Fabric

Create Fabric

10M Downloads

Moving Contraptions Delete Items from On-Board Storage

Stereo528 opened this issue ยท 2 comments

commented

Describe the Bug

Moving a contraption with an inventory on it replaces the first instance of the item with the last instance of the item.

I'm also getting confused because it's done 3 different things now. The first time I noticed it, it was copying the last to the first, I wasn't using different tree types at the time yet and I hadn't realized it was deleting items. Later, maybe 5 minutes, before I was aware this was happening still, it deleted the first instance of the item until I went from 3 stacks + 2 of an item to only 2 of an item, I was using a different tree type at this point. After this, I tried to replicate it again, and it did nothing, tried multiple times, I switched tree type and it happened, but it again copied the last to the first.

While trying to figure this out and write this issue, I kept testing to see what I could do to replicate it. If I just place items in without it harvesting it, it seems it will always delete the last instance of the item and leave the first one be, no matter the size, it will also move everything to the uppermost left slot it can (this happened while harvesting it too, which is why I didn't realize it at first)

Reproduction Steps

The below steps are before I wrote the "Describe the Bug" portion, though it will get the original behavior I noticed, I can follow up with what I did for the other behaviors I found later on.

  1. Create a contraption like this:
    image

  2. Plant and grow 1 type of tree, for example, Oak

  3. Harvest it with the contraption, Example harvest:
    image

  4. (Optional) Take everything out except 1 type of item, for example, 3 apples like this:
    image

  5. Plant another tree type like Spruce

  6. Harvest it with the contraption

  7. Watch as you now have 2 apples instead of 3:
    image

More Extreme example:
image
image

Also happens with multiple types of items: (I had forgotten to take a before picture, but 46 sticks were also lost in the process, they were after the 8 sticks, and I believe I had the 2 spruce amounts switched than what they should be in the "before" photo)
image
image

Expected Result

Items are not cleared/copied from the last in the list of the same item types, to the first of the same list (happens with multiple items), instead of everything being left as is in the storage.

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Linux, Pop!_OS

Mod Version

0.4.0c

Minecraft Version

1.18.1

Other Mods

Applied Energistics 2
Consistency+
Bing Bing Wahoo,
Krypton,
Starlight,
Decorative Blocks,
Xaero's Minimap + Worldmap

Additional Context

This happens in Multiplayer, will update when I test Singleplayer

This also is not my server, I'm unable to test if it happens without krypton, starlight, or without both if it is a multiplayer-only issue.

commented

Forgot to mention I believe, It will happen if it just moves, even if its half a block before coming back, it doesn't have to harvest anything for this too happen

commented

better example
before:
image
after:
image