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

"/execute if blocks [...] all" syntax highlighting does not recognize following subcommands

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13.1, 20w15a, 1.16, 1.16.5, 21w07a, 1.17.1, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 22w42a, 1.19.3, 23w05a, 23w06a, 1.19.4 Pre-release 2, 1.19.4, 1.20.1, 1.20.2 Release Candidate 1, 23w42a, 1.20.4, 24w04a, 1.20.5 Pre-Release 4, 1.20.5 Release Candidate 2, 24w36a, 1.21.3
    • None
    • Confirmed
    • Commands
    • Low
    • Platform

      The bug

      Trying to run subcommands of execute if blocks ... all shows that the syntax of the command is invalid.

      To reproduce

      1. /op yourself
      2. Paste the following command in chat
        /execute if blocks ~ ~ ~ ~ ~ ~ ~ ~ ~ all run say test
        

        The command is shown in red (but it works anyway when run)

      Reason

      Explanation and cause of the bug can be found in this comment by Chixvv.

        1. 24w38a.png
          39 kB
          ArsiTheFox
        2. image-2020-08-14-14-21-27-167.png
          165 kB
          Willber
        3. Not Working If Blocks.png
          443 kB
          Willber
        4. Not Working If Blocks-1.png
          65 kB
          Willber
        5. Screenshot 2022-06-13 235106.png
          112 kB
          PoPo09036

            Unassigned Unassigned
            EvanClaire Evan Claire
            Votes:
            55 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated:
              CHK: