Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplication of dropped items from broken blocks using 2+ Collectors #227

Open
BreadBxsket opened this issue Nov 28, 2021 · 3 comments
Open
Labels
1.16 1.18 bug Something is not working as intended

Comments

@BreadBxsket
Copy link

BreadBxsket commented Nov 28, 2021

Describe the bug
When redstone runs over multiple collectors in a specific fashion (see picture), and a block placed in the middle of the collectors is broken, multiple collectors can collect the dropped item. If only one block is broken before checking the collector inventories, only one block can be removed, and all others will disappear. If two blocks are broken before removing from the collector, all most blocks can be removed, placed, and used as real blocks.

The linked video contains a full example of how this bug is performed.
Note for video: In the video, I use repeaters with a 3-tick delay, but this isn't necessary. In creative, I performed this with 1-tick delay repeaters, but it is easier to accomplish in a survival example with a 3-tick delay.

Screenshots or crash report (if relevant)
Redstone: 2021-11-27_22 35 15

Mod list and Mod Folder: Screenshot_23

Video Example: https://youtu.be/UjpNlmY1KLk

Versions (please complete the following information):

  • Minecraft: 1.16.5
  • Mantle: 1.6.127
  • Inspirations: 1.2.3.38

Other mods required
None

List any other mods required to reproduce this issue. Test by running the game with minimal mods.

This test was done with a fresh profile on Curseforge Launcher, with only Inspirations and Mantle installed.

@BreadBxsket BreadBxsket added 1.16 bug Something is not working as intended labels Nov 28, 2021
@KnightMiner
Copy link
Owner

KnightMiner commented Nov 28, 2021

Thank you for the detailed report. However, providing details does not exempt you from following the issue template. Please add in the information you missed from the issue template. Additionally, I do not really understand what you are saying. Is the block broken inside the collectors? When you say two blocks broken, do you mean at the same time? How is that possible with just Inspirations? If not at the same time, are you sure there is a dupe and not just the items from the second block?

I can say vanilla does not thread block updates, so it does not make sense something like this would cause a dupe bug. Each collector will run one after another, so the item entity is already removed by the time the final collector runs. Ghost items also don't make sense as nothing in the code runs client side, its all serverside. Thus, I need more information, as I cannot see this happening without performance mods.

@BreadBxsket
Copy link
Author

I've updated the report with the template, an image of both my mod list and mod folder, and a video showing how to perform the dupe.

@KnightMiner
Copy link
Owner

KnightMiner commented Nov 28, 2021

Ah, I see. There are no ghost items here. All collectors grabbed the "same" item stack. The reason for the duplication is because you modified the "same" stack so both copies got updated. Probably just missing a copy call somewhere, or an isAlive check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.16 1.18 bug Something is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants