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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: Minecraft 18w20b
    • Labels:
    • Confirmation Status:
      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

              • Assignee:
                Unassigned
                Reporter:
                panda4994 Panda
              • Votes:
                39 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: