Steps to reproduce:
Use a command to generate a chest with a custom name.
In survival mode, break chest. Chest keeps custom name, but places it in the Name tag, not CustomName.
Tested with furnace. Same issue.
Tested with NBT Tags: CustomName - changed into Name instead of CustomName, in snapshot 19w03a
Comments 3
Will retest and provide exact steps in a moment.
Fixed, but found another related bug:
/setblock ~ ~ ~ minecraft:chest{CustomName:"{\"text\":\"NewName\"}"} destroy
/data get block <location>
Break chest
Throw chest as item
/data get entity
Doesn't contain custom name.
CustomName is restored on placing (as I found out)
Should I report/edit this issue ticket?
Can't reproduce, name transfers between item and block as expected