Minecraft
  1. Minecraft
  2. MC-87989

Wrong line when casting fishing rod in third person view

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 15w36c, Minecraft 15w47c, Minecraft 1.9, Minecraft 16w35a
    • Fix Version/s: Minecraft 16w44a
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Confirmation Status:
      Confirmed

      Description

      The bug

      When casting a fishing rod for the first few ticks the line connecting the rod and the hook is pointing away from (0|0|0).

      The reason

      The following is based on decompiled version of Minecraft 1.8 using MCP. All method and class names are the names used in the decompiled version.

      The reason why this happens is that the public void func_180558_a(EntityFishHook p_180558_1_, double p_180558_2_, double p_180558_4_, double p_180558_6_, float p_180558_8_, float p_180558_9_) method of the net.minecraft.client.renderer.entity.RenderFish class uses the fields prevPosX, prevPosY and prevPosZ of the fishing hook to render the line. However until the fishing hook is not updated, its prevPosX, prevPosY and prevPosZ fields are all 0d. This could be solved by setting them all to the current coordinate values in the constructor. In general it might make sense to do this for all entities.

        Issue Links

          Activity

          Hide
          [Mod] redstonehelper added a comment -

          A similar issue was fixed recently. Is this still an issue in 15w44b? If so, please explain the issue in detail and provide steps to reproduce it. Please also update the list of affected versions.

          Show
          [Mod] redstonehelper added a comment - A similar issue was fixed recently. Is this still an issue in 15w44b? If so, please explain the issue in detail and provide steps to reproduce it. Please also update the list of affected versions.
          Hide
          [Helper] Marcono1234 added a comment -

          Confirmed, please reopen

          Show
          [Helper] Marcono1234 added a comment - Confirmed, please reopen
          Hide
          [Mod] SunCat added a comment -

          It's MC-90070

          Show
          [Mod] SunCat added a comment - It's MC-90070
          Hide
          [Helper] Marcono1234 added a comment - - edited

          MC-90070 rather duplicates this report as this one here is older, but it is indifferent anyways, both reports contains nearly the same information

          Show
          [Helper] Marcono1234 added a comment - - edited MC-90070 rather duplicates this report as this one here is older, but it is indifferent anyways, both reports contains nearly the same information
          Hide
          [Mod] FVbico (Steven Verberne) added a comment -

          switched them around

          Show
          [Mod] FVbico (Steven Verberne) added a comment - switched them around
          Hide
          [Mod] SunCat added a comment -

          In any case, still in 1.9

          Show
          [Mod] SunCat added a comment - In any case, still in 1.9

            People

            • Assignee:
              [Mojang] Maria Lemón
              Reporter:
              [Helper] Marcono1234
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: