Sync Yaw

< Back to mechanic page

Description

Sync the yaw of the entity to either the head or body yaw.
Minecraft tracks 3 types of yaw internally: yaw, head_yaw and body_yaw. It is not guaranteed that yaw is the equal to the other yaws, but local entity movements use yaw. Hence, this mechanic exists to guarantee the yaw is synced to either the head or body.

Attributes

Attribute Aliases Description Type Default
target t, to Yaw to be modified
Can only be yaw, body, head or all
String yaw
body b, from, src Whether the yaw is syncing to the body yaw
Can be yaw, body or false
If false, uses head yaw instead
String head
Updated Aug 19, 2026