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

Player Head Data is not evaluated when id is present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w14a
    • 24w13a
    • None
    • Confirmed
    • Commands
    • Important
    • Platform

      The Bug

      When explicitly specifying the player UUID to ensure the correct texture is still used, even if the player changes their name, the player skin is not correctly fetched, this only works when specifying the name only

      Steps to reproduce

      1. run /give @s minecraft:player_head[profile=NeunEinser]
        -> You get my player head
      2. (optional) run /data get entity @s SelectedItem and copy the id from the minecraft log
      3. run /give @s minecraft:player_head[profile= {id:[I; 1310885697, 139610808, -1449946961, 1834654359]}

        ]
        -> You get a player head with default skin

      4. run /give @s minecraft:player_head[profile= {name: "NeunEinser", id:[I; 1310885697, 139610808, -1449946961, 1834654359]}

        ]
        -> You get a player head with default skin

      Expected behavior

      The player texture is evaluated when you specify the id or the player name, but not the texture itself

      Oberved Behavior

      The texture is only evaluated when only the player name is present and nothing else

            gegy1000 [Mojang] Gegy
            Schortan [Mod] NeunEinser
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: