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

Vertical leads do not render from certain angles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.4, 23w12a
    • Confirmed
    • Rendering
    • Normal
    • Platform

      The bug

      Leads do not render when the end positions are perfectly above each other. This rarely happens during gameplay, but can almost be reproduced by using commands.

      When a lead is close to vertical in one direction it will render flatly and be hard to see from the sides. I assume that when the lead is perfectly vertical it becomes flat in both directions.

      A partial explanation of the bug is that the lead renderer uses a fixed height in the Y axis to achieve a three dimensional look, but that height isn't rotated along with the segments so that it becomes effectively useless

      Expected Behavior

      Leads in all directions render properly and clearly.

      Observed Behavior

      Vertical leads do not render properly

      Reproduction steps

      Execute these commands, ensuring that the pigs don't die (redstone ready superflat should work) to see that leads become almost invisible at certain angles. I have not been able to reproduce the bug where the lead doesn't render at all in vanilla, but it does happen when a modded server sends packets causing perfectly vertical leads

      • /summon pig 0 56 0 {NoGravity:1b,UUID:[I;1,1,1,1],NoAI:1b}
      • /summon pig 0 60 0.15 {NoGravity:1b,NoAI:1b,Leash: {UUID:[I;1,1,1,1]}

        1. 2023-03-23_18.18.34.png
          617 kB
          Matias Koivikko
        2. 2023-03-23_18.18.39.png
          811 kB
          Matias Koivikko

            Unassigned Unassigned
            MattiDragon Matias Koivikko
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: