mojira.dev
MCPE-64973

The values of entries in a scoreboard displayed on the sidebar slot are misplaced

The bug

The values of score holders in a scoreboard objective that is displayed on the sidebar slot are directly adjacent to the entry with the longest name, and the rest of the numbers follow suit. The way this is organized is ugly and doesn't make for a good display, especially with rapidly changing names/numbers.

What I expected:

The score holder's values to be represented on the far right, regardless of the length of the score holder, not unlike Java Edition.

What happens:

The score holder's values are directly adjacent to the entry with the longest name.

To reproduce:

  • Create a scoreboard and set it to the sidebar:

    /scoreboard objectives add foo dummy "Long Display"
    /scoreboard objectives setdisplay sidebar foo
    /scoreboard objectives add foo dummy "Long Display"
    /scoreboard objectives setdisplay sidebar foo
  • Set a value for a score holder with a short name:

    /scoreboard players set short foo 1
    /scoreboard players set short foo 1

    Notice the value is directly adjacent to "short".

    [media]
  • Set a value for a score holder with a longer name:

    /scoreboard players set "long name" foo 2
    /scoreboard players set "long name" foo 2

    Notice the value is directly adjacent to "long name" and the value for "short" has now moved to compensate.

    [media]

Attachments

Comments 6

There's a similar bug where if you assign a mob into the scoreboard it would show random numbers like -146028888063

There's a similar bug where if you assign a mob into the scoreboard it would show random numbers like -146028888063

There's a similar bug where if you assign a mob into the scoreboard it would show random numbers like -146028888063

@Jesse Kohn that's not a bug, that's the entity's UUID, every entity is assigned one so that errors don't occur with game functions. It acts sorta like the entity's username. Name tags do not change that name.

Sprunkles

(Unassigned)

378944

Confirmed

Windows

commands, scoreboard, sidebar

1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.1, 1.16.20, 1.16.100

1.16.210.54 Beta, 1.16.210

Retrieved