|
|
Wip |
|
|
\ No newline at end of file |
|
|
[< Back to mechanic page](../../Model-Mechanics)
|
|
|
|
|
|
Mechanic: SyncYaw
|
|
|
===============
|
|
|
|
|
|
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 |
|
|
|
|-----------|---------|-------------------------------------------------------------------------------|---------|---------|
|
|
|
| body | b | Whether the yaw is syncing to the body yaw<br>If false, uses head yaw instead | Boolean | false | |