Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-253305

Some hoppers miss items when several hoppers are locked at once

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 1.19, 1.20.3 Pre-Release 1
    • None
    • Community Consensus
    • (Unassigned)

      Scenario

      When there are several hoppers connected one to another and there is a flow of items coming through them, one can lock all of the hoppers simultaneously with a redstone signal.

      Expected behaviour: all hoppers are locked in a state where each of the hoppers contains one item.

      Actual behaviour: most of the time (not always though) some of the hoppers won't have any items in them. Which hopper will be empty is apparently random.

      How to reproduce

      1. Make a continuous flow of items through a line of hoppers
      2. Lock all of the hoppers simultaneously with a redstone signal
      3. Most likely, one or two of the hoppers do not contain an item

      Sample contraption:

      Comparators are used to check if there are any items in the hopper. In this picture, one of the comparators is off, and indeed that hopper is empty.

      Furthermore

      The example above uses locking the hoppers manually, and the empty hopper is random. However, one can make a redstone circuit that will automatically lock all hoppers whenever the last hopper in the line contains any items, similar to this:

      With this setup, the empty hopper is always the same one. Which exactly depends on repeater delay. For example, if repeater delay is set to 3 units, the empty hopper is always the ninth from the stream end, or when it's 1 unit, the fifth hopper is empty.

      Additional details

      When each hopper gets its signal a tiny bit later (1 repeater unit) than the previous one, everything works as expected, no hoppers are empty. The described behaviour only appears when multiple hoppers are locked simultaneously.

      Affected versions

      This behaviour was tested on two Windows machines on 1.19 and on 1.18.2.

        1. 2022-06-19_02.47.33.png
          431 kB
          DL33
        2. 2022-06-19_02.48.05.png
          679 kB
          DL33
        3. 2022-06-19_03.17.12.png
          262 kB
          DL33
        4. 2023-11-20_19-16-40.mp4
          4.30 MB
          [Helper] Jiingy
        5. 2023-11-20_19-19-04.mp4
          4.60 MB
          [Helper] Jiingy

            Unassigned Unassigned
            DL33 DL33
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: