When using the 'execute' command in a Minecraft function file (.mcfunction) in a behavior pack, the function does not appear on typing the '/function' command in game. However when using another command for example, 'say' in a different function file it does appear upon typing the command '/function'. Also i followed the steps given in https://learn.microsoft.com/en-us/minecraft/creator/documents/functionsintroduction?view=minecraft-bedrock-stable
Steps to Reproduce:
1.Create a basic behaviour pack containing a 'functions' folder
2.in the folder, create 2 new .mcfunction files, name them function1 and function2
3.in function1 type "execute at @s run say Hello!"
4. in function2 type "say Hello!"
5. save everything and add the behaviour pack to a new world
Observed Results:
upon running "/function function1" in the in-game chat, it will give an error that says that the function file does not exist.
However, upon running "/function function2" in the in-game chat, it will not give an error and give the output of the normal /say command
Expected Results:
both function1 and function2 must run upon executing them individually using the /function command
Comments 6
I tried setting it to 1.20 [1,20,0]. but when I did that, the functions that were previously working did not showed up
Is the "min_engine_version" of your Behavior Packs manifest.json set to 1.19.50 or above?