Hello,
I’m sorry for causing trouble and disturbing with this report.
In my Behavior Pack I’ve set up some .mcfunctions that have to run the commands tag and execute. The issue is that when these commands are put into the functions files the .mcfunctions won’t be recognised by the game, and attempting to run them just gives an error. I’ve tried other commands such as say and tell and they work fine. I also checked my manifest.json version and it is set to 1.20.0, so it should be able to run them. I’m attaching here the manifest file and the mcfunction file.
Thanks and greetings.
Attachments
Comments 2
Hello,
I’ve updated the error in the “Tag” command, adding a reference entity. The “schedule” command is right and I didn't change it, as in-game it must be ran like this. The “alignment” argument is the .mcfunction that it has to run. The “5“ argument is the time in ticks that it uses as delay before running the .mcfunction. The game now runs the start.mcfunction but it doesn’t run the alignment.mcfunction. It looks like the game doesn’t recognise “/execute” commands in functions.
Greetings
JuicedCloud1849
Hi!
Thank you for your report!
Please adjust the commands and check:
Command is missing a “tag
<entity: target>add Run”Command includes an unknown argument “schedule delay add alignment 5”
Please refer to while checking the code: https://learn.microsoft.com/en-us/minecraft/creator/documents/functionsintroduction?view=minecraft-bedrock-stable
If issue still occurs, please update the files and send them here.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki