mojira.dev
MC-180793

Functions files disappear (Duplicated from: MC-164446)

With some function files don't appear in the /function command (I don't know if im doing something wrong or what is happening)

What I expected to happen was...:

Appears in the function command autocompleter

What actually happened was...:
Don't appears

Steps to Reproduce:
1. Open the world I give here
2. Activate the LAN connection (and allow the cheats)
3. Execute in the chat:

/function datapack:signs/join_blue_team

4. There jump a error:

Unknow function datapack:signs/join_blue_team

5. Open the datapack file: mechanics/data/datapack/functions/signs

6. There appear a file with the same name of the before command

PD: There are more functions file that don't appear.

I have more one week being ANNOYED BECAUSE THIS BUG and they maked big with other functions!!

Attachments

Comments 1

Functions cannot be loaded if they contain a syntax error. For example, in the specific function you mentioned, you have written

/execute if @s ...

instead of

/execute if entity @s ...

You can always copy and paste your commands into the in-game chat to check if they are valid commands.

CosmicAxolotl

(Unassigned)

Unconfirmed

command, functions

1.15.2

Retrieved