Skip to content

MC-4: Item drops sometimes appear at the wrong location #150

@leumasme

Description

@leumasme

https://bugs-legacy.mojang.com/browse/MC-4

This causes

  • dropped items slightly teleporting after coming to rest
  • dropped items sometimes visually falling off a block and then getting teleported back up, before falling down again

Both of these seem to be caused by the low position resolution of the entity packets. Positions are mostly sent as ints, where 32 = 1 block.

Dropped items clientside falling off a block is caused by this rounding causing the client to think that an item is in a position to fall, while the correct server position means that it should not fall.

Dropped items slightly teleporting after coming to a rest is then likely the clientside simulation/prediction of the item position (based on the rounded starting conditions) being updated with the rounded server position.

I'm not sure if there is a fix for this other than updating the packets to use a higher precision, so not sure if this is fit for ArchaicFix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions