Mojira Archive
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.

Unresolved

Marcono1234

2017-01-30, 12:27 AM

2024-12-19, 12:45 PM

22

7

Confirmed

Low

Platform

Entities

fishing, fishing_rod, item, motion

Minecraft 1.11.2 - 1.21.4Minecraft 1.11.2, Minecraft 1.13.1, 20w14a, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3, 1.16.4, 20w46a, 20w48a, 20w51a, 21w05b, 21w06a, 21w08b, 21w15a, 21w17a, 21w20a, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 22w13a, 1.19, 1.19.2, 1.20.1, 1.20.4, 1.21, 1.21.4

-