Skip to content

@pumpkin-plugins/waypoints API / placeholders/definitions / waypointFields

Variable: waypointFields ​

const waypointFields: object

Defined in: packages/waypoints/src/placeholders/definitions.ts:21

Output contracts shared by closest, nearest, and explicit waypoint lookups.

Type Declaration ​

bearing ​

readonly bearing: object

bearing.description ​

readonly description: "Horizontal compass bearing, north at zero." = 'Horizontal compass bearing, north at zero.'

bearing.output ​

readonly output: "degrees to one decimal" = 'degrees to one decimal'

color ​

readonly color: object

color.description ​

readonly description: "Canonical waypoint color." = 'Canonical waypoint color.'

color.output ​

readonly output: "uppercase #RRGGBB" = 'uppercase #RRGGBB'

delta_x ​

readonly delta_x: object

delta_x.description ​

readonly description: "Destination X minus viewer X." = 'Destination X minus viewer X.'

delta_x.output ​

readonly output: "blocks to one decimal" = 'blocks to one decimal'

delta_y ​

readonly delta_y: object

delta_y.description ​

readonly description: "Destination Y minus viewer Y." = 'Destination Y minus viewer Y.'

delta_y.output ​

readonly output: "blocks to one decimal" = 'blocks to one decimal'

delta_z ​

readonly delta_z: object

delta_z.description ​

readonly description: "Destination Z minus viewer Z." = 'Destination Z minus viewer Z.'

delta_z.output ​

readonly output: "blocks to one decimal" = 'blocks to one decimal'

description ​

readonly description: object

description.description ​

readonly description: "Saved description, or an empty string." = 'Saved description, or an empty string.'

description.output ​

readonly output: "text" = 'text'

direction ​

readonly direction: object

direction.description ​

readonly description: "Eight-point compass direction." = 'Eight-point compass direction.'

direction.output ​

readonly output: "N, NE, E, SE, S, SW, W, NW, UP, DOWN, or HERE" = 'N, NE, E, SE, S, SW, W, NW, UP, DOWN, or HERE'

distance ​

readonly distance: object

distance.description ​

readonly description: "Raw three-dimensional distance." = 'Raw three-dimensional distance.'

distance.output ​

readonly output: "blocks to one decimal, no suffix" = 'blocks to one decimal, no suffix'

distance_formatted ​

readonly distance_formatted: object

distance_formatted.description ​

readonly description: "Human-readable distance." = 'Human-readable distance.'

distance_formatted.output ​

readonly output: "whole meters while it rounds below 1000; otherwise kilometers to one decimal" = 'whole meters while it rounds below 1000; otherwise kilometers to one decimal'

distance_horizontal ​

readonly distance_horizontal: object

distance_horizontal.description ​

readonly description: "Raw X/Z distance." = 'Raw X/Z distance.'

distance_horizontal.output ​

readonly output: "blocks to one decimal, no suffix" = 'blocks to one decimal, no suffix'

icon ​

readonly icon: object

icon.description ​

readonly description: "Canonical item ID, or an empty string." = 'Canonical item ID, or an empty string.'

icon.output ​

readonly output: "item ID or empty" = 'item ID or empty'

id ​

readonly id: object

id.description ​

readonly description: "Canonical waypoint UUID." = 'Canonical waypoint UUID.'

id.output ​

readonly output: "canonical lowercase UUID" = 'canonical lowercase UUID'

label ​

readonly label: object

label.description ​

readonly description: "Saved display label, falling back to the name." = 'Saved display label, falling back to the name.'

label.output ​

readonly output: "text" = 'text'

name ​

readonly name: object

name.description ​

readonly description: "Complete saved waypoint name." = 'Complete saved waypoint name.'

name.output ​

readonly output: "text" = 'text'

relative_direction ​

readonly relative_direction: object

relative_direction.description ​

readonly description: "Eight-point direction relative to the viewer yaw." = 'Eight-point direction relative to the viewer yaw.'

relative_direction.output ​

readonly output: "front, front_right, right, back_right, back, back_left, left, front_left, UP, DOWN, or HERE" = 'front, front_right, right, back_right, back, back_left, left, front_left, UP, DOWN, or HERE'

world ​

readonly world: object

world.description ​

readonly description: "Exact saved world key." = 'Exact saved world key.'

world.output ​

readonly output: "text" = 'text'

x ​

readonly x: object

x.description ​

readonly description: "Saved X coordinate." = 'Saved X coordinate.'

x.output ​

readonly output: "locale-independent number; negative zero is 0" = 'locale-independent number; negative zero is 0'

y ​

readonly y: object

y.description ​

readonly description: "Saved Y coordinate." = 'Saved Y coordinate.'

y.output ​

readonly output: "locale-independent number; negative zero is 0" = 'locale-independent number; negative zero is 0'

z ​

readonly z: object

z.description ​

readonly description: "Saved Z coordinate." = 'Saved Z coordinate.'

z.output ​

readonly output: "locale-independent number; negative zero is 0" = 'locale-independent number; negative zero is 0'

pumpkin-plugins documentation