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

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 3
    • 20w19a
    • None
    • Confirmed
    • Text, UI
    • Low

      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"}]
      

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

              Created:
              Updated:
              Resolved:
              CHK: