Rotates an entity's facing direction.
/rotate <targets> <yaw> <pitch> /rotate <targets> facing <pos> /rotate <targets> facing entity <entity> [eyes|feet]
| Name | Required | Description |
|---|---|---|
| targets | Yes | Entities to rotate. |
| yaw/pitch | No | Rotation angles. |
| pos/entity | No | Facing target. |
/rotate @p 90 0 /rotate @e[type=armor_stand] facing 0 64 0
Java-only in current editions (newer versions).