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

"/execute if blocks [...] all" causes commands after to be highlighted in red even if there are no errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19.3
    • None
    • Windows 10
    • Unconfirmed
    • (Unassigned)

      About:

      When writing with the command "/execute if blocks," and using the "all" argument, anything that goes beyond the basic arguments of the command are highlighted in red, even if the arguments that come after are correct.

      Example:

      "/execute if blocks ~ ~ ~ ~ ~ ~ ~ ~ ~ all run say hi"

      In the example command, the sub-args after "all" would be highlighted in red. However, the command would run just fine as if there were no errors.

      In another case scenario, if you were to write this example command instead:

      "/execute if blocks ~ ~ ~ ~ ~ ~ ~ ~ ~ masked run say hi"

      It would say the command is formatted properly, and no text would be highlighted in red.

        1. 2022-12-13_19.07.47.png
          1.11 MB
          saladbowls
        2. 2022-12-13_19.08.59.png
          1.11 MB
          saladbowls

            Unassigned Unassigned
            saladbowls saladbowls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: