BetaPrivateconstructorReadonlycountThis property can't be read in early-execution mode.
ReadonlymaxThis property can't be read in early-execution mode.
Adds a waypoint to the locator bar. Throws an error if the waypoint already exists, the maximum waypoint limit has been reached, or the waypoint is invalid.
This function can't be called in restricted-execution mode.
This function can't be called in early-execution mode.
Returns an array of all waypoints currently in the locator bar.
This function can't be called in restricted-execution mode.
This function can't be called in early-execution mode.
Checks whether the specified waypoint exists in the locator bar.
This function can't be called in restricted-execution mode.
This function can't be called in early-execution mode.
Removes all waypoints from the locator bar, clearing it completely.
This function can't be called in restricted-execution mode.
This function can't be called in early-execution mode.
Removes a specific waypoint from the locator bar. Returns an error if the waypoint does not exist in the locator bar.
This function can't be called in restricted-execution mode.
This function can't be called in early-execution mode.
Manages the collection of waypoints displayed on a player's locator bar. Allows adding, removing, and querying waypoints with a maximum capacity limit.
Invalid waypoints in the locator bar will be automatically removed in the next tick. This includes waypoints tied to entities that have been removed from the world.
Note: You can control whether vanilla player waypoints are automatically added to the locator bar using the
locatorbarGameRule. This game rule is currently namedlocatorbarbut will likely be renamed in a future update to be more descriptive.Note: You can only modify, remove, or query waypoints that were added by this pack.
Example: sharedWaypoint.ts