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

Commands with quotation marks (") cannot be put in a setblock command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.17.1
    • None
    • Unconfirmed
    • (Unassigned)

      commands like /execute if entity @p[nbt={Inventory:[

      {id:"minecraft:diamond"}

      ]}] cannot be put in 

       

      {{/setblock <x> <y> <z> command_block 0 replace {Command:"execute if entity @p[nbt={Inventory:[

      {id:"minecraft:diamond"}

      ]}]"}}}

      {{}}

      because the quotation marks interfear

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

              Created:
              Updated:
              Resolved: