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

Hoppers cannot pull items from double chests if second chest is blocked

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 17w49a
    • Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 16w15a, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w39a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w14a, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47b
    • Confirmed

      The bug

      Hoppers can now pull items from blocked chests. However, this is not working correctly for double chests. If the second chest (first chest being the one where the hopper is below) is blocked the hopper is unable to pull items from the double chest.

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      The method net.minecraft.block.BlockChest.getContainer(World, BlockPos, boolean) ignores the allowBlocking paramter (= third parameter; should be called "allowBlockedChests" or similar) when checking if adjacent chests are blocked.

      Forge pull request

      A pull request on MinecraftForge can be found here: https://github.com/MinecraftForge/MinecraftForge/pull/4590

        1. 2016-03-09_18.21.43.png
          17 kB
          [Mojang] Panda
        2. 2017-01-09_23.36.49.png
          92 kB
          Irritated Gamer
        3. 2017-01-09_23.37.32.png
          178 kB
          Irritated Gamer
        4. 2017-01-09_23.37.45.png
          219 kB
          Irritated Gamer
        5. 2017-01-09_23.37.59.png
          240 kB
          Irritated Gamer
        6. 2017-01-09_23.38.05.png
          210 kB
          Irritated Gamer
        7. 2017-01-09_23.38.11.png
          143 kB
          Irritated Gamer
        8. 2017-01-09_23.51.04.png
          144 kB
          Irritated Gamer
        9. 2017-01-09_23.51.18.png
          101 kB
          Irritated Gamer

            grum [Mojang] Grum (Erik Broes)
            panda4994 [Mojang] Panda
            Votes:
            17 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: