Update setrotation authored by Lxlp's avatar Lxlp
...@@ -5,9 +5,9 @@ Changes the rotation of the target (only works on non-player entities). ...@@ -5,9 +5,9 @@ Changes the rotation of the target (only works on non-player entities).
## Attributes ## Attributes
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------| |-----------|-----------|----------------------------------------------------------------------|---------|
| relative | | If the change is relative to the target, boolean | false | | relative | r, rel | If the change is relative to the target, boolean | false |
| yaw | | The new yaw | 0 | | yaw | y | The new yaw | 0 |
| pitch | | The new pitch | 0 | | pitch | p | The new pitch | 0 |
## Examples ## Examples
...@@ -15,4 +15,8 @@ Changes the rotation of the target (only works on non-player entities). ...@@ -15,4 +15,8 @@ Changes the rotation of the target (only works on non-player entities).
Skills: Skills:
- setrotation{relative=true;pitch=-45} - setrotation{relative=true;pitch=-45}
- ... - ...
``` ```
\ No newline at end of file
## Aliases
- [x] setrot
\ No newline at end of file