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 | Yaw to be modified Can only be yaw , body or head
|
String | yaw |
body | b | Whether the yaw is syncing to the body yaw If false, uses head yaw instead |
Boolean | false |