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

Skull texture data format changed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.15.2, 20w17a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      On 2020-04-21 the format of player head texture data changed significantly across all versions, breaking existing commands. It seems to include a lot of duplicate data now as seen in the attached image. Certain fields such as timestamp are missing. The impact of this change is not completely clear yet, more testing needs to be done.

      Cause

      The response of "GET sessionserver.mojang.com/session/minecraft/profile/<uuid>" has changed. The expected response is documented here: https://wiki.vg/Mojang_API#UUID_-.3E_Profile_.2B_Skin.2FCape

      How to reproduce

      1. Give yourself a player head and place it on the ground
        /give @s player_head{SkullOwner:"steve"}
      2. Check the texture data of the block
        /data get block ~ ~ ~ Owner.Properties.textures[0].Value
      3. Notice that the encoded JSON object is much larger than before, decoding it gives you a similar result as the attached image.

        Attachments

        1. before.png
          before.png
          13 kB
        2. now.png
          now.png
          101 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Misoloo [Helper] Misode
              Votes:
              31 Vote for this issue
              Watchers:
              18 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: