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

Player entities don't respect DATA_CUSTOM_NAME_VISIBLE/DATA_CUSTOM_NAME EntityDataAccessors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.1
    • None
    • Unconfirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            Owen1212055 Owen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: