mojira.dev
MC-263573

Player entities don't respect DATA_CUSTOM_NAME_VISIBLE/DATA_CUSTOM_NAME EntityDataAccessors

Currently, the Player Entity does not respect custom name-related EntityDataAccessors in Entity.
This is because the Player overrides methods such as shouldShowName & getDisplayName

This makes it so you cannot assign custom colors/text to player entity names without either hacking around the scoreboard system or using a separate entity riding on top of the player to mimic a nametag.

In general, it would be very beneficial for map makers/developers who use player entities on their maps and want to display custom text over the player, rather than relying on such hacks.

Comments 2

Feature request, not a bug; additionally, player data cannot be modified in-game, intentionally, so also a won't do.

Also, please include in your bug report what gameplay impact an issue has, if possible with a way to reproduce the issue in vanilla.

(If you can't find a way to add this to your bug report that's a good indication that it's not a valid bug)

Owen1212055

(Unassigned)

Unconfirmed

(Unassigned)

1.20.1

Retrieved