Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-113006

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

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Minecraft 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
    • None
    • Confirmed
    • Entities
    • Low

    Description

      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.

      Attachments

        1. 2021-05-03_11.41.34.png
          2021-05-03_11.41.34.png
          1.21 MB
        2. 2021-07-05 10-34-32.mp4
          3.11 MB
        3. MC-113006.mp4
          2.49 MB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marcono1234 [Mod] Marcono1234
              Votes:
              18 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: