New /execute syntax isn't useable in functions. This has been a problem since the release of this feature, even when all experiments enabled.
EDIT: Turns out there isn’t a bug at all, you just need to use “Minimum engine version 1.18.10” & above, although you will not be able to use any old syntax.
Attachments
Comments 5
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Did you make sure to turn on the Upcoming Creator Features experimental toggle?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki
@Sprunkles All creator features are enabled as mentioned in the report. My format version is 2. But my minimum engine version is 1.16.0. If I change this to 1.19.30 will it affect anything in any way? Or will the old syntax still be usable?
@Ch39 You may experience a few differences in the command engine as the minimum engine version increases. The notable one here is that the new /execute
syntax is enabled for functions by setting it to 1.19.10 or greater, replacing the old syntax in the process. You will not be able to use the old syntax upon upgrading, but you can always set the min engine version to an older version (like the 1.16.0 you have it at now).
Using the new
/execute
command syntax in behavior packs is dependent on two factors:Having the Upcoming Creator Features experiment enabled (which you have done here)
Setting the pack's *minimum engine version* to 1.19.10 or greater.
Are both of these true?