Enum LocationType
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum LocationType extends Enum<LocationType>
Dictates what kind of location can be selected.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final Integer
ordinal
private final EnumEntries<LocationType>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCATION_3D
Must be a block position composed of <X>, <Y> and <Z>, each of which must be an integer or a tilde and caret notation.
LOCATION_2D
Must be a column coordinates composed of <X> and <Z>, each of which must be an integer or tilde notation.
PRECISE_LOCATION_3D
Must be three-dimensional coordinates with double-precision floating-point number elements. Accepts tilde and caret notations.
PRECISE_LOCATION_2D
Must be two-dimensional coordinates with double-precision floating-point number elements. Accepts tilde notation.
-
Method Summary
Modifier and Type Method Description final LocationType
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<LocationType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<LocationType>
getEntries()
Dictates what kind of location can be selected. -
-
Method Detail
-
valueOf
final LocationType valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<LocationType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<LocationType> getEntries()
Dictates what kind of location can be selected.
-
-
-
-