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

Skin of placed player heads is loaded from the server even if texture property is already set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.15.2, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1
    • None
    • Confirmed
    • Rendering

      I used this command:

      /give @p minecraft:player_head{SkullOwner:{Name:"somethingnotCached3208920239304",Properties:{textures:[{Value:"eyJ0aW1lc3RhbXAiOjE0NzU1OTk4ODA0NjQsInByb2ZpbGVJZCI6ImI5YWE1N2ZlNjQ5ZTRkNDg4MDZlNjNhZjJmYWZmNWM2IiwicHJvZmlsZU5hbWUiOiJTa3lsaW5lcnciLCJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTc0MzhiZDE1NjI2MTk1N2NhOTQ0Mzg5ZGQ3OWYwZjAyY2E5NDU4M2YwZjQyMGMxZmY5YTllMmM1OTRhMTQifX19"}]}}}

       
      It gave me this head, that looks exactly like the skin from,

      eyJ0aW1lc3RhbXAiOjE0NzU1OTk4ODA0NjQsInByb2ZpbGVJZCI6ImI5YWE1N2ZlNjQ5ZTRkNDg4MDZlNjNhZjJmYWZmNWM2IiwicHJvZmlsZU5hbWUiOiJTa3lsaW5lcnciLCJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTc0MzhiZDE1NjI2MTk1N2NhOTQ0Mzg5ZGQ3OWYwZjAyY2E5NDU4M2YwZjQyMGMxZmY5YTllMmM1OTRhMTQifX19

      Wearing and having it in the hand or placing it on an item frame, or dropping it will not change how it will appear.

      But when placed, this happens:

      It turns into the wrong head for some reason. It doesn't make sense that you have the head shown like that in the inventory, wear it like that, but as soon as it is placed not anymore. Also, Minecraft freezes for a few seconds, each time you place it, not sure how that cacheing works there, but why would it attempt to cache again.

      Same issue here https://gaming.stackexchange.com/questions/287252/how-to-make-custom-player-heads-without-making-multiple-accounts

      So apperantly if you have a head from someone that changed their skin, it would change them again to their original one, anyway? Uhhh... maybe not good.

      When you place the head it looks for the name only, so the "textures" value technically is completly useless at this point. The logs report this aswell:

      [Render thread/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@5c190580[id=23f89ba7-ce90-39c7-8282-3fb0ceb18582,name=soemethingnotcached3208920239304,properties={},legacy=false]
       com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server

      Also, note that the properties in that error log is empty for some reason, not sure what should be put in there though.

      Another issue is if you have the internet disconnected, and then place it, check how long it takes for Minecraft unfreeze.

      So not only will it not load the image given in properties, we can't even load custom images, it won't even load it in the inventory, not sure if that is done for security reasons, but there's not even Base64 image value that we could specify.

            Unassigned Unassigned
            joshi77 joshi77
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: