mcfunction command direction
I tried to make a behaviour pack that makes mob stay still when you look at them
tried using repeat command block
/execute @a ^ ^ ^64 effect @e[r=64,type=!player] slowness 1 255
and it works. no problem.
so i put all that command into a mcfunction file and add a tick.json
put the behaviour pack and load a world.
the function is still there, but theres something wrong, the direction of the function is z+ not where im looking at.
i tried to fix it by doubling the execute
execute @a ~ ~ ~ execute @s ^ ^ ^64 effect @e[r=64,type=!player] slowness 1 255
get in the world, and the problem is still there
is this a bug? any solution to prevent this?
2021-05-25, 09:09 AM
2021-05-25, 05:43 PM
2021-05-25, 05:38 PM
0
0
-