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

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 1.16 Pre-release 3
    • 1.16 Pre-release 4
    • None
    • Community Consensus
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: