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

Raw JSON Text cannot be parsed in an Item Component when in /tellraw format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w10a
    • None
    • OS: Pop!_OS 22.04 LTS (64-bit)
    • Unconfirmed
    • (Unassigned)

      Typing in the tag {{/give @s minecraft:trial_key[minecraft:custom_name=

      {"text":"Big Trial Key", "color": "dark_purple", "font": "minecraft:alt"}

      ]}} like you would in the /tellraw command will throw this error:

      Malformed 'minecraft:custom_name' component: 'java.io.EOFException: End of input at line 1 column 3 path $.'

       However, typing in the same tag in Data Pack format works perfectly:

      {   \"text\": \"Big Trial Key\",   \"color\": \"dark_purple\",   \"font\": \"minecraft:alt\" }

            Unassigned Unassigned
            FarestR06 Jacob Dolunt
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: