High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies https://papermc.io/
Find a file
Bukkit/Spigot 800679913f Add Location.setDirection(Vector). Adds BUKKIT-4862
This commit adds an additional method to Location to set the direction of
facing. Included are a set of unit tests that ensure the consistency of
getDirection and setDirection using a set of cardinal directions and
arbituary data points.

Javadocs were also added to pitch and yaw methods that explain the unit
and points of origin.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-11 03:16:14 -06:00
paper-api Add Location.setDirection(Vector). Adds BUKKIT-4862 2013-12-11 03:16:14 -06:00