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

Unable to use nested tellraw commands

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 14w08a
    • None
    • Windows 7
    • Unconfirmed

      I tried to create a tellraw command, which when you click it, makes you execute another tellraw command with yet another clickEvent.

      This is the command which I've used:
      tellraw @a {text:'click here to create a tellraw button which makes you say hi',
      clickEvent:{action:run_command,value:"tellraw @a {text:
      'click here to say hi',clickEvent:{action:run_command,value:'say hi'"}}}}

      Note that I used two different apostrofes (' and ") to make sure it doesn't missmatch, I thought that would cause problems, but it didn't make the command work.

      This is what the command block is outputting:
      Invalid json: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 197

      I honestly think its a bug, because I'm 99% sure I got the syntax right. If not, tell me!

            Unassigned Unassigned
            dicotheredstoner DicoTheRedstoner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: