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

the "color" text component ignores any number of preceding zeros

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 20w17a, 20w18a, 20w19a, 20w20b, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 5
    • Confirmed
    • (Unassigned)

      The color text component ignores any number of preceding zeros, so {"text":"example", "color":"#0000000000FFFF00"} is both valid and the same as {"text":"example", "color":"#FFFF00"}

      This also allows for {"text":"example", "color":"#FF"}, which displays a blue coloured text.

            Unassigned Unassigned
            ErrorCraft ErrorCraft
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: