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

Mob name colors still don't work with translation/keybind components

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w19a
    • Fix Version/s: 1.16 Pre-release 3
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Text, UI
    • Mojang Priority:
      Low

      Description

      MC-181418 was fixed for text, however mobs with pure translate or keybind as names still cannot use colors.

      How to reproduce

      /summon cow ~ ~ ~ {CustomName:'{"text":"Something","color":"green"}'}
      

      Name is green

      /summon cow ~ ~ ~ {CustomName:'{"translate":"item.minecraft.pufferfish","color":"green"}'} 
      

      Name is white

      Workaround

      [{"text":"","color":"green"},{"translate":"item.minecraft.pufferfish"}]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tryashtar [Mod] tryashtar
              Votes:
              7 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: