The Waypoint class in @minecraft/server.
Class in @minecraft/server
Extended by EntityWaypoint, LocationWaypoint
import { Waypoint } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”optional
color?: RGB;Types
isEnabled
Section titled “isEnabled”isEnabled: boolean;isValid
Section titled “isValid”read-only
readonly isValid: boolean;textureSelector
Section titled “textureSelector”textureSelector: WaypointTextureSelector;Methods
Section titled “Methods”getDimensionLocation
Section titled “getDimensionLocation”getDimensionLocation(): DimensionLocation;Returns
DimensionLocationTypes
remove
Section titled “remove”remove(): void;Used by
Section titled “Used by”LocatorBar.addWaypoint, LocatorBar.getAllWaypoints, LocatorBar.hasWaypoint, LocatorBar.removeWaypoint