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

Pick block on player head does not use BlockEntityTag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w09a
    • Minecraft 16w05b, Minecraft 1.11, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 1.13.1, 1.14.4, 19w46b, 1.16.1, 1.16.4, 20w48a, 21w05b, 1.17.1
    • Confirmed
    • Creative
    • Block states

      The bug

      The BlockEntityTag tag for items should be used when an block and its NBT data is copied using Ctrl + Middle mouse button.
      Additionally the copied block gets the Lore: "+NBT"
      This is not the case for skulls, they get the NBT data only for their SkullOwner tag. This is problematic because it is inconsistent and also prevents tags added to the skull block in the future to be copied.

      How to reproduce

      1. Use this command and place the skull
        /give @p minecraft:player_head{SkullOwner:"Notch"} 1
        
      2. Copy the skull with its NBT data
        The copied skull has no "+NBT" Lore

        1. bugged.png
          767 kB
          Neliz_
        2. fixed.png
          767 kB
          Neliz_

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: