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

Lead is shifted upwards or downwards based on leashed entity height

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 3
    • Snapshot 13w16b, Snapshot 13w17a, Snapshot 13w19a, Snapshot 13w21a, Snapshot 13w21b, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.7.9, Minecraft 1.7.10, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.8, Minecraft 15w45a, Minecraft 15w47a, Minecraft 15w47c, Minecraft 1.8.9, Minecraft 15w51b, Minecraft 1.9 Pre-Release 2, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w21b, Minecraft 1.13-pre5, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14, Minecraft 1.14.1, 19w34a, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w13a, 20w13b, 20w15a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 1.16 Pre-release 2
    • Confirmed
    • Rendering

      The bug

      Leads are rendered shifted upwards based on the eye level of the leashed entity. This causes the lead start to be rendered too high for taller mobs like iron golems or horses.

      Code analysis

      Based on 1.12 decompiled using MCP 9.40 PRE 1

      The method net.minecraft.client.renderer.entity.RenderLiving.renderLeash(T, double, double, double, float, float) shifts the rendering position upwards based on the leashed entity's eye level instead of only the end position, which might be partwise the cause for MC-13823.

            mgatland [Mojang] Matthew Gatland
            Kraif Kraif
            Votes:
            18 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: