mojira.dev
MC-268094

`execute if blocks` doesn't recognize subcommands after it

When trying to use command

`execute if blocks ~ ~1 ~ ~ ~1 ~ ~ ~2 ~ all run say hi`

The command validator says that the "run say hi" section is invalid. However, if you ignore it and run the command, it works as intended and says "hi" if the two blocks above the executor are both the same.

The problem appears to be that the `if blocks` subcommand doesn't recognize any further subcommands after it.

Linked issues

Comments 1

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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

PrismaticVoid

(Unassigned)

Unconfirmed

(Unassigned)

1.20.4, 24w04a

Retrieved