Mojira Archive
MC-119807

Breaking inventories next to walls can cause items to glitch away

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.

Fixed

[Mojang] Panda

2017-07-31, 09:27 PM

2018-05-16, 10:12 PM

2018-05-16, 10:12 PM

39

11

Confirmed

drop, inventory, item

Minecraft 1.12 - Minecraft 17w45bMinecraft 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