mojira.dev
MCPE-141738

Restrict_sun doesnt work

i tried to make a entity that avoid sun, tried flee_sun, doesnt work because its only work if the mob is on fire, and i found minecraft:behavior.restrict_sun

put the code into my entity json open the game and spawn the entity, it doesnt work.

tried to turn on experimental setting... still doesnt work.

Attachments

Comments 3

and the json file is valid, the entity is working, except for the restrict sun part.

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Hinge

(Unassigned)

Unconfirmed

Android

6.0.1

1.17.11 Hotfix

Retrieved