Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-276506

Written book title/author fails to use JSON formatting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21.1, 24w36a
    • None
    • Minecraft Java 24w36a
      Windows 10
    • Unconfirmed
    • (Unassigned)

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

            Unassigned Unassigned
            ArsiTheFox ArsiTheFox
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: