Mojira Archive
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

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...

Invalid

ArsiTheFox

2024-09-08, 03:41 AM

2024-09-08, 04:43 PM

2024-09-08, 04:43 PM

0

0

Unconfirmed

(Unassigned)

1.21.1, 24w36a

-