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

JSON text commands not working with writable books

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.15.2
    • Fix Version/s: None
    • Labels:
    • Environment:
      Windows 10, 64-bit
      jre 1.8.0 251
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      I know that for written books, this isn't an issue, json text functions perfectly.

      But for writable books, the pages:[] tag refuses to process anything but a pure string, disallowing even newline characters.

      I know that the book is capable of holding this information, but Minecraft doesn't seem to allow users to input the info. 

      I have tried copy-paste, tried most every method of reformatting the command, I've tried it with the book in a chest, lectern, item frame, item, in my own hand, but it doesn't seem to work.

      The parameter used was pages:['\{"text":"-\\n-\\n-"}']
      Which resulted in the text)    {"text":"-\n-\n-"}

      Could the mismatch be in how written books can hold unadulterated user content, and therefore not have gone under some sort of verification/solidification and so is treated differently?

      As far as I can tell, this has been here since a minimum of 1.13

      Thank you, Goodbye

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              RaspberryJam James Grabinski
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: