mojira.dev
MCPE-234482

.mcfunction files cant run certain commands

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

Hi!
Thank you for your report! 

Quick Links
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

[media][media]

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

JuicedCloud1849

(Unassigned)

Unconfirmed

Windows

Windows 11

1.21.131 Hotfix

Retrieved