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

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 20w19a
    • 1.16 Pre-release 3
    • None
    • Confirmed
    • Text, UI
    • 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

              Unassigned Unassigned
              tryashtar [Mod] tryashtar
              Votes:
              7 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: