Changes
Page history
wiki standardization
authored
Oct 21, 2024
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/Mechanics/SyncYaw.md
0 → 100644
View page @
058ef9f7
[
< 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