public final class DirectionUtil extends Object
Directions.| Modifier and Type | Method and Description |
|---|---|
static @NotNull Directions |
directionOf(float yaw)
obtains a
Directions from the given yaw. |
static @NotNull Directions |
directionOf(@NotNull org.bukkit.Location location)
obtains a
Directions from the given location. |
static @NotNull Directions |
directionOf(@NotNull org.bukkit.entity.Player player)
obtains a
Directions from the given player. |
static @NotNull Directions |
doubleDirectionOf(float yaw)
obtains a double
Directions from the given yaw. |
static @NotNull Directions |
doubleDirectionOf(@NotNull org.bukkit.Location location)
obtains a double
Directions from the given location. |
static @NotNull Directions |
doubleDirectionOf(@NotNull org.bukkit.entity.Player player)
obtains a double
Directions from the given player. |
@NotNull public static @NotNull Directions directionOf(@NotNull @NotNull org.bukkit.entity.Player player)
Directions from the given player.player - the player to obtain.@NotNull public static @NotNull Directions directionOf(@NotNull @NotNull org.bukkit.Location location)
Directions from the given location.location - the location to obtain.@NotNull public static @NotNull Directions directionOf(float yaw)
Directions from the given yaw.yaw - the yaw to obtain.@NotNull public static @NotNull Directions doubleDirectionOf(@NotNull @NotNull org.bukkit.entity.Player player)
Directions from the given player.player - the player to obtain.@NotNull public static @NotNull Directions doubleDirectionOf(@NotNull @NotNull org.bukkit.Location location)
Directions from the given location.location - the location to obtain.@NotNull public static @NotNull Directions doubleDirectionOf(float yaw)
Directions from the given yaw.yaw - the yaw to obtain.Copyright © 2021. All rights reserved.