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

Functions don't understand JSON with line breaks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 1.12.2
    • Windows 10 Personal Edition, Java 8 64-bit, running via MultiMC launcher.
    • Unconfirmed

      This function works as intended:

      title @a {text: "Hello, World!"}
      

      This function does not:

      title @a {
        text: "Hello, World!"
      }
      

      Additionally, the failing function simply throws the error "Unknown function", which is cryptic and unhelpful – it would be much easier to debug problems of this type if there was a different error for "function not found" and "function did not parse correctly."

            Unassigned Unassigned
            nupanick Nicholas Lamicela
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: