mojira.dev
MC-276506

Written book title/author fails to use JSON formatting

When you give yourself a written book through commands u are unable to use JSON formatting for the title nor the author

[media]

Reproduce:
Commands:

/give @s written_book[written_book_content={title:{raw:'{"text":"Should be Title"}'},author:'{"text":"Should be Author"}'}]

or

/give @s written_book[written_book_content={title:'{"text":"Should be Title"}',author:'{"text":"Should be Author"}'}]

JSON formatting should work with any string set for displays/item names...

Attachments

Comments 1

Thank you for your report!
However, this issue is Invalid.

You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The Minecraft Feedback Site or visit the Minecraft Feedback Discord server.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

ArsiTheFox

(Unassigned)

Unconfirmed

(Unassigned)

1.21.1, 24w36a

Retrieved