-
-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Labels
Description
Hi!
That would be nice if we have support for waypoints for locatorbar.
Based on a waypoint packet, the following methods can be used:
//Track new waypoint
Audience.track(String id, Waypoint waypoint);
Audience.track(UUID uuid, Waypoint waypoint);
//Remove tracked waypoint
Audience.untrack(UUID uuid);
Audience.untrack(String id);
//Update tracked waypoint
Audience.update(UUID uuid, Waypoint waypoint);
Audience.update(String id, Waypoint waypoint);and the waypoint class:
Waypoint.empty(); //Empty waypoint
Waypoint.vector(TextColor color, int x, int y, int z); //Vector based waypoint with default style (minecraft:default)
Waypoint.vector(TextColor color, Key style, int x, int y, int z); //Vector based waypoint with style
Waypoint.chunk(TextColor color, int x, int z); //Chunk based waypoint with default style (minecraft:default)
Waypoint.chunk(TextColor color, Key style, int x, int z); //Chunk based waypoint with style
Waypoint.azimuth(TextColor color, float angle); //Azimuth based waypoint with default style (minecraft:default)
Waypoint.azimuth(TextColor color, Key style, float angle); //Azimuth based waypoint with styleThank you for reading!