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

Head name component is too restrictive, breaking old and new player heads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 24w09a
    • None
    • Confirmed
    • Commands

      Player Head Component "minecraft:profile={name:""} is too restrictive requiring no spaces/special characters and/or a character limit of 0-16. This bricks old player heads that have these use cases in the name field by stripping profile components completely.

      This is typically used to keep the custom item name for a head where a player sets a custom value like `Spider` would display "Spider's Head" that would persist when placed down when they already have a custom texture.

      How to Replicate:
      +Working:
      +

      /give @s minecraft:player_head[minecraft:profile={name:"test"}]

      +Not Working:
      +

      /give @s minecraft:player_head[minecraft:profile={name:"test test"}]
      /give @s minecraft:player_head[minecraft:profile={name:"testtesttesttesttest"}]
      /give @s minecraft:player_head[minecraft:profile={name:"test☺"}]

       

            Unassigned Unassigned
            n1njag0 n1n (n1njag0)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: