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

Advancement description JSON can ignore the first specified color

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 4
    • 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 1.16 Pre-release 3
    • None
    • Community Consensus
    • Advancements

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

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

              Created:
              Updated:
              Resolved:
              CHK: