Minecraft – “Couldn’t load file functions/bar.mcfunction in functions directory.”

minecraft-addonsminecraft-bedrock-edition

I made two function files:

tag @e[tag="xf_selected"] remove "xf_selected"
tag @e[c=1] add "xf_selected"

and

tag @e[tag="xf_selected"] remove "xf_selected"
tag @e add "xf_selected"

And that's it. I've tested the commands and they are valid. I get the following errors:

[Commands][warning]-Couldn't load file functions/selectentity/all.mcfunction in functions directory.


[Commands][warning]-Couldn't load file functions/selectentity/nearest.mcfunction in functions directory.


What's wrong and how can I fix it? – I literally have nothing else in the pack except for the manifest (which seems to be working).

Best Answer

My functions directory was called Functions by mistake (I blame you .NET)!

Make sure your directory is named functions.