Represents a mutually perpendicular axis in 3D Cartesian coordinates. In Minecraft the x, z axes lie in the horizontal plane, whilst the y axis points upwards.
Enum Constant Details
valuespublic static Axis values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
valueOfReturns 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.)