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

Advancement description JSON can ignore the first specified color

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 1.16 Pre-release 3
    • Fix Version/s: 1.16 Pre-release 4
    • Labels:
      None
    • Confirmation Status:
      Community Consensus
    • Category:
      Advancements

      Description

      The Bug

      If you're writing an advancement description with JSON, the description will ignore your first specified color, no matter if it's a word or a hex value, and use the default color instead. This is different to how it used to work.

      The Workaround

      Instead of writing

      {"text":"Kill three unique mobs with one piercing crossbow shot","color":"white"}
      

      write this

      ["",{"text":"Kill three unique mobs with one piercing crossbow shot","color":"white"}]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              boq [Mojang] Bartosz Bok
              Reporter:
              paint Paint
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: