Class LocationCoordinate
java.lang.Object
cloud.commandframework.bukkit.parsers.location.LocationCoordinate
Single coordinate with a type
- Since:
- 1.1.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleandoubleGet the coordinate@NonNull LocationCoordinateTypegetType()Get the coordinate typeinthashCode()static @NonNull LocationCoordinateof(@NonNull LocationCoordinateType type, double coordinate) Create a new location coordinatetoString()
-
Method Details
-
of
public static @NonNull LocationCoordinate of(@NonNull LocationCoordinateType type, double coordinate) Create a new location coordinate- Parameters:
type- Coordinate typecoordinate- Coordinate- Returns:
- Created coordinate instance
-
getType
Get the coordinate type- Returns:
- Coordinate type
-
getCoordinate
public double getCoordinate()Get the coordinate- Returns:
- Coordinate
-
equals
-
hashCode
public int hashCode() -
toString
-