Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-167490

The space droppers and crafters check to push into storage entities is offset by -0.5 X, Y, and Z

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.30.20 Preview, 1.19.62, 1.19.81 Hotfix, 1.20.50.23 Preview, 1.20.71 Hotfix
    • None
    • Confirmed
    • Multiple
    • 1087917

      Droppers should push items into chest boats/minecarts and hopper minecarts that they face. This seems to work correctly when these entities are placed directly in front of droppers. However, droppers can also try to push items into container entities on the wrong sides. This can lead to items going in unintended directions and droppers being unable to eject items when nothing is in front of them.

      • Closer testing and analysis reveals that the area droppers check for container entities is offset by -0.5 blocks in each direction. It is as if the check range was coded based on the center of the dropper block, when in fact blocks are located by the integer coordinates at their bottom northwest corner. This image illustrates the area that is checked vs. the area that should be checked by a dropper facing south.

      Steps to reproduce

      (Dropper Lock Bug.mcworld is set up for these steps.)

      1. Place droppers facing north, south, east, and west and put items in them.
      2. Place activator rails under the droppers and power the activator rails.
      3. Place chest minecarts or hopper minecarts on the activator rails under the droppers.
      4. Power each dropper.
      5. Place a dropper facing upwards and put items in it.
      6. Place activators rails next to the upward-facing dropper on all sides and power the activator rails.
      7. One at a time, place a chest or hopper minecart on one of the activator rails next to the upward-facing dropper, and then power the dropper.
      8. Repeat all of the steps above with a hopper minecart that has all slots filled with items so that it cannot accept any from the the droppers.
      9. Remove all of the minecarts from the above setups and replace the activator rails with carpet.
      10. Place chest boats on the carpets and repeat all dropper tests using boats-on-carpet instead of minecarts.

      Expected results

      In each tests the dropper should eject items when powered.

      Observed results

      Droppers facing south and east place items into empty storage minecarts/boats below them, and the dropper facing upwards places items into empty storage minecarts/boats on its north and west. When you place full hopper minecarts in these positions (step 8) the droppers do not eject items.

      Update: following the comment below you can also place the storage entities in more exotic positions to see the full extent of the bug, for example, try placing a chest minecart 2 blocks north and 1 block down from a north-facing dropper.

        1. Dropper Lock Bug.mcworld
          29 kB
          [Mod] GoldenHelmet
        2. MCPE-167490.png
          84 kB
          [Mod] GoldenHelmet

            GoldenHelmet [Mod] GoldenHelmet
            Votes:
            8 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: