mojira.dev
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

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.

Linked issues

Attachments

Comments 0

No comments.

[Mod] ManosSef

(Unassigned)

Confirmed

Platform

Normal

Commands, Rendering

below_name, scoreboard

1.21.1, 24w34a, 1.21.3, 1.21.4

Retrieved