When I try to get the NBT from a noteblock it won't work even if I use Ctrl + pick block it still won't bring the exact note over to the new block
The first screenshot shows the noteblock is tuned to 24 and the second one shows that I placed the picked block and has a note of 0 on it. This did not happen last time I tried to do it in 1.12.2
How to reproduce
Create a new singleplayer world
Place a noteblock and tune it to one of the tones
Use Ctrl + Pick block to bring the NBT data over like it normally would
See that the note reset to 0 when you look at it with the F3 menu
I couldn't attach the screenshot as it said I had a missing jira token or something so sorry for the slight inconvenience.
Related issues
is duplicated by
Comments

Reopened; other tickets regarding pickblock not saving block states were considered valid and fixed. Since this actually worked before, it's another reason for it to be valid.

Can confirm in 1.17.1.

Can confirm in 21w40a.

Can confirm in 21w42a.
Can confirm in 1.19.2.

This issue still occurs in Minecraft snapshot 24w44a despite refactors to the pick item functionality.
Noteblocks no longer use NBT to track their notes as of 1.13; it uses blockstates.