Mojira Archive
MC-137380

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

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 Dl.

Unresolved

Evan Claire

2018-10-21, 05:07 AM

2024-12-11, 07:50 AM

56

27

Confirmed

Low

Platform

Commands

Minecraft 1.13.1 - 1.21.4Minecraft 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, 1.21.4

-