When using Ctrl+Pick block on a player head with both a custom skin and noteblock sound data, the received head only contains the custom skin data, but not the noteblock sound data.
To reproduce
Run the following command to place a player head with noteblock sound data:
/setblock ~ ~ ~ minecraft:player_head{note_block_sound:"minecraft:ambient.cave",SkullOwner:{Name:"jeb_"}}Pick the block while holding the Ctrl key
Place the resulting head on top of a note block
Right-click the note block
Observed behaviour
No sound is played.
Expected behaviour
A spooky cave sound is played.
Linked issues
Attachments
Comments 2
This report is specific to CTRL+pick blocking a player head with SkullOwner and note_block_sound tags. An amended description would be:
You can't CTRL+pick block a placed player head with the note_block_sound tag if it has the SkullOwner tag. The given item is missing the NBT tag for the sound and does not play any sound once placed onto a note block. If the player head does not have the SkullOwner tag, then the note_block_sound tag is preserved from CTRL+pick block as expected.
Affects 1.19.3 pre-2.
Code analysis by ch-yx:
If the block is a player head with the SkullOwner tag, the item stack inherits the SkullOwner tag and nothing else once the head is pick-blocked, as the item stack is prematurely returned.
Can you please provide the exact commands that you used?
Also, are you in singleplayer or on a multiplayer server?