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? – ExpertCoder14 Apr 24 at 6:03
  • @ExpertCoder14 thats the errors and all thats in the logs – Penguin Apr 24 at 17:05
  • If you change up the commands, does it start working, but then stops once you change it to what is here? – ExpertCoder14 Apr 24 at 17:47
  • @ExpertCoder14 i literally made it say hi and it still fails – Penguin Apr 24 at 19:09

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

Make sure your directory is named functions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.