- Functions
Published Aug 16th, 2020, 8/16/20 7:09 am
- 2,216 views • 1 today
- 33 downloads • 0 today
2
Facing API!
An API for datapack developpers to get the players facing.I created this for my next datapacks but you can use it if you need it.
1. Getting the players cardinal facing.
The name of the scoreboard is "playerfacing" and it has 4 different values:
1 --> south
2 --> west
3 --> north
4 --> east
2. Getting the players global facing (cardinal + up and down).
The name of the scoreboard is "trueplayerfacing" and it has 6 different values:
1 --> south
2 --> west
3 --> north
4 --> east
5 --> down
6 --> up
| Compatibility | Minecraft 1.15 |
| to | Minecraft 1.17 |
| Tags |
4702059
119



Have something to say?