Skip to content

@pumpkin-plugins/waypoints API / rendering/presentation / createWaypointHudTextJson

Function: createWaypointHudTextJson() ​

createWaypointHudTextJson(waypoint, distanceBlocks, detailed?): string

Defined in: packages/waypoints/src/rendering/presentation.ts:73

Creates bounded literal text and a fallback marker; atlas icons are appended after host encoding.

Parameters ​

waypoint ​

Waypoint

distanceBlocks ​

number

detailed? ​

boolean = true

Returns ​

string

Pumpkin Plugins documentation