|
|
|
[< Back to mechanic page](/Skills/Mechanics)
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
Sync the yaw of the entity to either the head or body yaw.<br>
|
|
|
|
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<br>Can only be `yaw`, `body` or `head` | String | yaw |
|
|
|
|
| body | b | Whether the yaw is syncing to the body yaw<br>If false, uses head yaw instead | Boolean | false | |
|
|
|
\ No newline at end of file |