Mojira Archive
MCPE-184554

using the 'execute' command in a minecraft function does not work

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

Invalid

Intrucx_kode

2024-07-26, 01:09 PM

2024-07-26, 10:38 PM

2024-07-26, 10:38 PM

0

0

Unconfirmed

1.21.2 Hotfix

-