I made two function files:

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


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).

  • It does not produce an error message or tell you what went wrong? Apr 24, 2021 at 6:03
  • @ExpertCoder14 thats the errors and all thats in the logs
    – Penguin
    Apr 24, 2021 at 17:05
  • If you change up the commands, does it start working, but then stops once you change it to what is here? Apr 24, 2021 at 17:47
  • @ExpertCoder14 i literally made it say hi and it still fails
    – Penguin
    Apr 24, 2021 at 19:09

1 Answer 1


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

Make sure your directory is named functions.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .