The bug
When you have an item that is enchanted, it has an aqua-color and is in italic. But these JSON text effects disappear when it's in an item frame (and has a custom name which makes the name visible inside an item frame in the first place).
This can be replicated by using the following command:
/give @p stick{Enchantments:[{}],display:{Name:"{\"text\":\"i'm a stick\"}"}}
To fix this, make the item frame take in account whether an item is enchanted for providing the display of the name inside the item frame (since an item frame displays something different as inside the inventory and doesn't always display the name of an item, this should be possible).
Attachments
Comments 3
This ticket actually appears to be a duplicate of MC-132199.
Thank you for your report!
We're tracking this issue in MC-132199, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Can confirm in 20w51a.