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

The Lore strings cannot be formatted in json

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07a, Minecraft 18w08b, Minecraft 18w09a, Minecraft 18w10b, Minecraft 18w11a, Minecraft 18w15a, Minecraft 18w19b, Minecraft 18w20a, Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w22a, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w31a, Minecraft 18w32a, Minecraft 1.13.1, Minecraft 1.13.2-pre2
    • Fix Version/s: Minecraft 18w43a
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      As the title says, the Lore strings cannot be formatted as json, it'll just show the direct string:

      example, use:

      give @s stick{display:{Lore:["{\"text\":\"Hello\"}"]}}

      Side note: a new function may want to be added for loot tables, for the same reason as the set_name function got added.
      Side note 2: might as well be changed to a single string rather than a list of strings.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dinnerbone [Mojang] Nathan Adams
                Reporter:
                FVbico Inactive User
              • Votes:
                32 Vote for this issue
                Watchers:
                22 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: