Skip to main content

Module coordinates

Module coordinates 

Source
Expand description

Vanilla command coordinate expressions.

Structsยง

LocalCoordinates ๐Ÿ”’
Three source-local components retained until command execution.
WorldCoordinate ๐Ÿ”’
One absolute or source-relative world coordinate.
WorldCoordinates ๐Ÿ”’
Three world-coordinate components retained until command execution.

Enumsยง

Coordinates ๐Ÿ”’
A position or rotation expressed in world-relative or source-local coordinates.
LocalCoordinateError ๐Ÿ”’

Functionsยง

parse_block_pos ๐Ÿ”’
parse_local_coordinate ๐Ÿ”’
parse_local_coordinate_or_restore ๐Ÿ”’
parse_local_coordinates ๐Ÿ”’
parse_rotation ๐Ÿ”’
parse_vec3 ๐Ÿ”’
parse_world_coordinate_double ๐Ÿ”’
parse_world_coordinate_int ๐Ÿ”’
parse_world_coordinates_double ๐Ÿ”’
parse_world_coordinates_int ๐Ÿ”’
read_relative_prefix ๐Ÿ”’
suggest_coordinates ๐Ÿ”’
translated_error ๐Ÿ”’
valid_coordinates ๐Ÿ”’