| Modifier and Type | Method and Description |
|---|---|
static @NotNull Directions |
DirectionUtil.directionOf(float yaw)
obtains a
Directions from the given yaw. |
static @NotNull Directions |
DirectionUtil.directionOf(@NotNull org.bukkit.Location location)
obtains a
Directions from the given location. |
static @NotNull Directions |
DirectionUtil.directionOf(@NotNull org.bukkit.entity.Player player)
obtains a
Directions from the given player. |
static @NotNull Directions |
DirectionUtil.doubleDirectionOf(float yaw)
obtains a double
Directions from the given yaw. |
static @NotNull Directions |
DirectionUtil.doubleDirectionOf(@NotNull org.bukkit.Location location)
obtains a double
Directions from the given location. |
static @NotNull Directions |
DirectionUtil.doubleDirectionOf(@NotNull org.bukkit.entity.Player player)
obtains a double
Directions from the given player. |
static Directions |
Directions.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Directions[] |
Directions.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2021. All rights reserved.