The LocatorBar class in @minecraft/server.
Class in @minecraft/server
import { LocatorBar } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”read-only
readonly count: number;maxCount
Section titled “maxCount”read-only
readonly maxCount: number;Methods
Section titled “Methods”addWaypoint
Section titled “addWaypoint”addWaypoint(waypoint: Waypoint): void;Parameters
waypointWaypoint
Types
getAllWaypoints
Section titled “getAllWaypoints”getAllWaypoints(): Waypoint[];Returns
Waypoint[]Types
hasWaypoint
Section titled “hasWaypoint”hasWaypoint(waypoint: Waypoint): boolean;Parameters
waypointWaypoint
Returns
booleanTypes
removeAllWaypoints
Section titled “removeAllWaypoints”removeAllWaypoints(): void;removeWaypoint
Section titled “removeWaypoint”removeWaypoint(waypoint: Waypoint): void;Parameters
waypointWaypoint
Types