mojira.dev
MC-113006

Items reeled in with fishing rod do not move smoothly but appear to teleport

The bug

When you reel in items with a fishing rod they sometimes do not move smoothly but instead suddenly "jump" or "teleport" to your position.

Note that in recent versions this bug occurs less frequently than it did in previous versions.

How to reproduce

  1. Stand diagonally about 3 blocks above an item

  2. Cast your fishing rod and reel the item in
    → You should see that the item does not smoothly move to you but instead suddenly appears below you

Note: You might have to repeat the steps multiple times (e.g. 10 or 20 times).

Code analysis

Based on 1.11.2 decompiled using MCP 9.35 rc1

It looks like the check to set the field net.minecraft.entity.Entity.isAirBorne to true in the method net.minecraft.entity.item.EntityItem.onUpdate() is causing this. This won't notice the motion difference because it did not happen during the onUpdate call.

Linked issues

Attachments

Comments 17

Confirmed for 1.13.1.

Can confirm in 21w05b.

Can confirm in 21w06a.

Can confirm in 21w08b. Video attached.

Can confirm in 21w15a.

7 more comments

Can confirm in 1.18.

Can confirm in 1.18.1.

Can confirm in 1.18.2.

Can confirm in 1.19.

Can confirm in 1.19.2.

marcono1234

(Unassigned)

Confirmed

Platform

Low

Entities

fishing, fishing_rod, item, motion

Minecraft 1.11.2, Minecraft 1.13.1, 20w14a, 1.16 Release Candidate 1, 1.16, ..., 1.19.2, 1.20.1, 1.20.4, 1.21, 1.21.4

Retrieved