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

Caching of player head textures causes several issues


    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 19w12b, Minecraft 1.14, Minecraft 1.14.3 Pre-Release 3
    • None
    • Unconfirmed
    • (Unassigned)

      To not cause a lot of lag every time they are loaded, player_head textures are saved offline. But even in situations when they should be queried online again, they often aren't.

      One example, replace "FaRo1" with your own username:


      /setblock ~ ~ ~ player_head{ExtraType:"FaRo1"}

      2. Close Minecraft and change your skin.
      3. Reopen world.
      Result: The skulls have not changed. They should have.

      /setblock ~1 ~ ~ player_head{ExtraType:"FaRo1"}

      Result: The new skull also has the old texture. If the world was opened far away from the old skull, so that they were not loaded, this issue does not happen. Going back to it the old skull shows them with the new texture.

      /data modify block ~ ~ ~ Owner.Properties.textures[0] merge from block ~1 ~ ~ Owner.Properties.textures[0]

      Result: Success message, even though both skulls look the same. Looking at the NBT of a new skull reveals that the string Owner.Properties.textures[0].Value does actually differ (only a little bit in my test).

      Changing the value of Owner.Properties.textures[0].Value with commands also does not change the texture and setting, getting and comparing the value with other texture strings or regular strings has many inconsistencies, but I haven't found a clear pattern in any of that yet.

            Unassigned Unassigned
            FaRo1 Fabian Röling
            2 Vote for this issue
            2 Start watching this issue