-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e98efb
commit 2031185
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
assets/faqs/cardinal direction align/cardinal direction align.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## {anchor} Округление поворота сущности к её ближайшей стороне света с помощью ОДНОЙ команды | ||
Запускаем эту команду от лица нужной нам сущности: | ||
```ansi | ||
[35mexecute [34mat [36m@s [34mpositioned [0m0. [0m0 [0m0. [34mrotated [0m~45 [0m0 [34mpositioned [0m^ [0m^ [0m^-.5 [34malign [34mxz [34mfacing [0m-.5 [0m0 [0m-.5 [34mrotated [0m~-45 [0m0 [34mpositioned [34mas [36m@s [34mrun [35mtp [36m@s [0m~ [0m~ [0m~ [0m~ [0m~``` | ||
Для 1.21.2+: | ||
```ansi | ||
[35mexecute [34mat [36m@s [34mpositioned [32m0. 0 0. [34mrotated [32m~45 0 [34mpositioned [32m^ ^ ^-.5 [34malign xz facing [32m-.5 0 -.5 [34mrotated [32m~-45 0 [34mrun [0mrotate [36m@s [32m~ ~``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters