mojira.dev
MC-258512

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

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.

Linked issues

Attachments

Comments 2

Duplicate of MC-137380,despite the report still saying it, it is not exclusive to servers anymore since 1.19.

Thank you for your report!
We're tracking this issue in MC-137380, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

saladbowls

(Unassigned)

Unconfirmed

(Unassigned)

1.19.3

Retrieved