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.

Related issues

Attachments

Comments

migrated
[media][media][media]
migrated

Confirmed for 1.13.1.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Can confirm in 21w08b. Video attached.

Avoma

Can confirm in 21w15a.

Avoma

Can confirm in 21w17a.

KirbAvion

Can confirm in 21w20a. Also affects falling_block entities in the unlikely event you can actually hook one with a fishing rod.

marcono1234

@@unknown, behavior of falling_block entities is probably a different (but related) bug, MC-206356 seems to cover that.

Avoma

I am still able to reproduce this issue in 1.17, so I'm requesting for this ticket to be reopened. It happens much less often however, it's still an issue.

marcono1234

The behavior seems to be a lot better than in previous versions, but as @unknown mentioned this bug still rarely occurs where the item just jumps to its destination.

ampolive

Can confirm in 1.17.1 Release Candidate 1.

ampolive

Can confirm in 1.17.1.

Avoma

Can confirm in 1.18.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

Avoma

Can confirm in 1.19.

Avoma

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