Gets the Vector direction of a BlockFace. For use in versions below 1.13. @param face The block face @return The vector representing the direction
(BlockFace face)
| 120 | * @return The vector representing the direction |
| 121 | */ |
| 122 | public static Vector getDirection(BlockFace face) { |
| 123 | return new Vector(face.getModX(), face.getModY(), face.getModZ()); |
| 124 | } |
| 125 | |
| 126 | private static DecimalFormat timeFormat = new DecimalFormat("0.#"); |
| 127 |
no outgoing calls
no test coverage detected