Steps to reproduce:
Summon a mob with NoAI:1b.
Position it on the exact middle of a block.
Position yourself also on the exact middle of a block a few blocks in a straight line away from the mob.
Rotate the mob to face you using /rotate, for example:
/rotate @n[type=husk] facing entity @p/rotate @n[type=husk] facing entity @pPress F3+B to make hitboxes visible.
❌ Note the mob's line of sight is misaligned.
Retrieve the mob's rotation using /data, for example:
/data get entity @n[type=husk] Rotation/data get entity @n[type=husk] Rotation❌ Note that the first value is offset by a very small margin. This is likely caused by inaccuracies in the formula used in /rotate; the mob apparently rounds the result up, causing its rotation to visibly mismatch.
Attachments
Comments 3
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm.