mojira.dev
MC-4

Item drops sometimes appear at the wrong location

The bug

When an item lands on the edge of a block, the client sometimes makes it fall over the edge while the server leaves it on the edge. This happens because the client thinks the drop can fall based on a slightly different location and attempts to predict the future incorrectly.

How to reproduce

  1. Throw an item on the ground and wait until it stopped moving

  2. Run in command block close to it:

    teleport @e[type=item,distance=..6] ~ ~1 ~-0.6249

Code analysis

Code analysis by @unknown can be found in this comment.

Fix

Fix by @unknown can be found in this comment.

Linked issues

MC-1848 Items from decaying leaves not able to be picked up Resolved MC-2481 items still get stuck in transparent blocks, cannot be picked up, and then disappear in less than a minute Resolved MC-3167 Can not pick up some of witches drops Resolved MC-3408 When you eject a record from a jukebox it renders the disk in the wrong place. Resolved MC-3872 Droped item glitch Resolved

Attachments

Comments 316

I have a piston-powered automated sugarcane farm which reproduces this very reliably.

What if there is flowing water where the ghost item falls? Will this ghost item move?

Yes, water moves the ghost items on my sugarcane farm.

Click the button of the diamond sugarcane farm. Most of the time, there will be ghost items.

I have attached a world save with a sugarcane farm which reproduces this most of the time. Demo video: http://www.youtube.com/watch?v=S1IHkLQIqOs

306 more comments

so what ur saying is that people shouldn't spam "Can confirm in [version]" because it's the oldest issue that wasn't resolved. But the reason people "spam" it is so that Mojang will see it and fix it. Believe it or not, this is how i found this issue in the first place. Telling people to not spam it will make it less likely to be fixed any time soon

It is not against the rules to post when an issue affects a new version of the game. However… this is not an unknown issue to Mojang and commenting will not increase the likelihood it is fixed.

We will not be updating this with all pre-release and snapshot versions.

Minecraft386882

Confirmed in 1.21.4 

They don't want to spend too much time focusing on this minor issue, its priority has been classified as low and it does not affect the actual gameplay very much so do not expect mojang will fix this issue soon.

Confirmed in 1.21.8

Ezekiel

(Unassigned)

Confirmed

Platform

Low

Entities, Items, Networking

desync, item-entity, packet, precision-loss, server

Minecraft 1.4.1, Minecraft 1.4.4, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, ..., 1.21.4, 25w04a, 25w08a, 1.21.6, 1.21.7

Minecraft 1.8.1-pre1

Retrieved