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

A scoreboard objective with display mode below_name uses the distance from the camera instead of the player when deciding whether to render

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.1, 24w34a, 1.21.3
    • Confirmed
    • Commands, Rendering
    • Normal
    • Platform

      Scoreboard objectives do not render when the camera is ten blocks away from another player's name (MC-246999), but this is based on where the camera is, not the player themselves.

      How to reproduce:

      1. Start a multiplayer server or LAN world and join it with two accounts or have another player join with you.
      2. Execute the following command:
        /scoreboard objectives add MC-275892 dummy
      3. Execute the following command:
        /scoreboard objectives setdisplay below_name MC-275892
      4. Move 6-7 blocks away from the other player.
      5. Change your perspective to third person.
      6. Turn your camera around and notice the objective's text appear and disappear.

      Expected result:

      The objective's text would not appear or disappear without the player moving around.

      Observed result:

      The objective's text appears and disappears without the player moving around, by turning the third person camera.

        1. MC-275892.mp4
          7.53 MB
        2. 2024-08-22_16.49.20.png
          2024-08-22_16.49.20.png
          621 kB
        3. 2024-08-22_16.49.28.png
          2024-08-22_16.49.28.png
          602 kB

            Unassigned Unassigned
            ManosSef [Helper] ManosSef
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: