mojira.dev
MC-143403

Items can glitch through solid blocks

I have a prototype bamboo farm in a creative testing world that worked fine last snapshot. When I turned it on this snapshot, the bamboo items started going through the glass surrounding the bamboo. I replaced the glass with stone and items still went through the blocks.

What I expected to happen was for the blocks to stop the items and contain them.

What actually happened was the items going through the blocks.

Steps to Reproduce:
1. Place a horizontal piston 4 blocks above the ground.
2. Place blocks surrounding where the piston head would be if it was extended except above.
3. Throw items in front of the still unextended piston head and place a block above them.
4. Power the piston. In 1.13.2 and 19w04b, the items will stay in the contained area. In 19w05a, the items will be pushed out and will land on the ground. If done at ground level in 19w05a, the items can be pushed down, going through blocks until it reaches an opening - void, cave, abandoned mineshaft, etc.

 One picture is of my bug testing set-up. The other two are of my farm (the command blocks are for keeping the dispensers filled with bonemeal).

Edit: I did some additional testing, and I think it is an issue with the items themselves not interacting properly with blocks. Replace the piston with a normal block, and place another block inside the items that are thrown out. Previously, the items would be pushed above the block placed in them. Now the items will be pushed downwards like with the piston method at ground level. I changed the bug title to reflect this.

Edit 2: As of 19w08a, this has been partially fixed: items will properly pop up when there are blocks surrounding them and another block is placed inside them if another block isn't above the items (items properly respond to the the steps to reproduce in the first edit). If items are in a block with other blocks on all six faces, the items still glitch through blocks improperly. This time they will either go to one of the sides (x or z axis), or they will go down. From my testing, it seems that it is about 50/50 whether the items go to the side or go down.

Linked issues

Attachments

Comments 7

I just realized that I've lost a bunch of gold, redstone, clay and other blocks to this bug. I was under the impression that the pickup sound just wasn't playing sometimes. That, coupled with the constant (singleplayer!) lag, made me think that my items were still going to my inventory even though I wasn't seeing or hearing it. But it turns out my items have been disappearing into the ground and solid rock whenever I place stone/dirt blocks to cover up the unsightly holes left behind the mined deposits. Now I have to be really careful and it's especially annoying when mining deposits that are a few blocks deep into a wall and I can't reach some of the items. Normally I would place some blocks and push the items toward me, but now I cannot do this since the items would just disappear!

If you attempt to mine a clay block that's underneath gravel or sand, you can say goodbye to that precious clay. The items are squashed for good. 😞

Normally pick up redstone, etc., that I mine by filling the hole with cobblestone, which pushes it up to me. Now most of them are just disappearing.

Tested this. Item is being pushed downward a block.

[media]

Items aren't just pushed down one block. If there is a solid area under, the item gets pushed down until it hits an open area.

Confirmed in 19w06a.

Confirmed for 19w11a, but not quite with the reproduction steps given in the description. It's more like:

1. Make a big box of solid blocks, with one block removed in the middle, which contains an item.
2. Push blocks into it from the outside.

Result: Item appears below the entire box.

Ian McCurdy

Fry

Confirmed

Entities

item

Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b

Minecraft 19w14a

Retrieved