Optionalcolor: RGBOptionalcolorOptional RGB color tint applied to the waypoint icon. If not specified, the waypoint uses its default color.
ReadonlyentityReadonlyentityReadonlyisReadonlyplayerThe PlayerVisibilityRules that control when the waypoint is shown based on the player's state (e.g., hidden, spectator mode, spectator viewing another spectator).
The WaypointTextureSelector that determines which icon texture is displayed for the waypoint based on distance or other criteria.
Gets the current DimensionLocation of the waypoint. For entity waypoints, this returns the entity's current position. For location waypoints, this returns the stored location.
Waypoint that tracks a player's position. Extends EntityWaypoint with additional player-specific visibility rules such as hidden state and spectator mode.