mojira.dev
MCPE-128870

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?

Linked issues

Comments 1

Thank you for your report!
We're tracking this issue in MCPE-93229, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Hinge 45

(Unassigned)

Unconfirmed

Android

android 6.0.1

1.16.221 Hotfix

Retrieved