Mojira Archive
MCPE-173573

'function' does not do the 'execute' command

It used to be that the "execute" command works in the "mcfunction" file, but the thing that happened in my add-on is that it does not work.

 

The command you wrote is as follows:

"execute as @e[type=s:smithing_teble,r=1] at @s if entity @e[r=1] run fill ~ ~ ~ ~ ~ ~ smithing_table replace air"

[s:smithing_teble=An entity created by me, ignoring an error in the word "teble" It should have been a "table."]

expected command:
When any entity approaches this entity "S:Smithing_Teble" it will build a "Smithing_Table" at the coordinates of the entity "S:Smithing_Teble" instead of air.

the problem:
The function does not work and an error message appears below

note!!
This only happens with the "execute" command.

Incomplete

yasyn9934

2023-07-26, 10:19 AM

2023-11-14, 02:15 PM

2023-11-14, 02:15 PM

0

1

Unconfirmed

1.20.12 Hotfix, 1.20.13 Hotfix

-