Waypoints
Create a waypoint anywhere in the world that will show how for away from a location you are as well as optionally render the name and a beam.
Integration
How to toggle the mod
public void toggleWaypointsExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModWaypoints.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
DEATH_WAYPOINT
- Config Key:
death-waypoint
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
WAYPOINT_BEAMS
- Config Key:
waypoint-beams
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
BOX_BORDER
- Config Key:
box-border
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
TEXT_SHADOW
- Config Key:
text-shadow
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
BOX_PADDING
- Config Key:
box-padding
- Values
- Type:
Float
- Default:
4.0F
- Minimum:
1.0F
- Maximum:
8.0F
- Type:
- Config Key:
-
ONLY_SHOW_WHEN_LOOKING_NEAR
- Only show each waypoint when looking near then in the world
- Config Key:
only-show-when-looking-near
- Values
- Type:
Boolean
- Default:
false
- Type:
-
SHOW_ICONS
- Show simpler text icons above each waypoint
- Config Key:
show-icons
- Values
- Type:
Boolean
- Default:
false
- Type:
-
LABEL_SCALE
- Config Key:
label-scale
- Values
- Type:
Float
- Default:
1.0F
- Minimum:
0.1F
- Maximum:
2.0F
- Type:
- Config Key:
-
ICON_SCALE
- Config Key:
icon-scale
- Values
- Type:
Float
- Default:
1.5F
- Minimum:
0.1F
- Maximum:
3.0F
- Type:
- Config Key:
-
ADD_WAYPOINTS_FROM_CHAT
- Config Key:
add-waypoints-from-chat
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key: