-
Bug
-
Resolution: Won't Fix
-
None
-
1.21.2 Pre-Release 3
-
None
-
Community Consensus
-
(Unassigned)
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
- Press 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
- 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.