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

Breaking inventories next to walls can cause items to glitch away

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 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 18w20b
    • Confirmed

    Description

      When breaking chests (or other inventories) next to a wall some of the dropped items sometimes glitch into the wall and fly away.
      The more blocks are around the chest, the more likely this is to happen.

      The reason this happens is that the positions in which the items get placed can be too close to the sides of the block, which causes the items to stick into the neighbouring blocks.

      Steps to reproduce:
      1. Place a chest
      2. Fill it with items
      3. Place blocks all around the chest
      4. Break the chest with a command

      Some items land outside the box the chest is enclosed in. Expected behaviour would be that all the items are inside the box.

      Items that flew through the surrounding chests:

      Gist of a fix.
      Video.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              panda4994 [Mojang] Panda
              Votes:
              39 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: