Direction HUD
Display your cardinal direction on the HUD.
Integration
How to toggle the mod
public void toggleDirectionHUDExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModDirectionHud.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
SCALE- Config Key:
scale - Values
- Type:
Float - Default:
1.0F - Minimum:
0.5F - Maximum:
1.5F
- Type:
- Config Key:
-
WIDTH- Config Key:
width - Values
- Type:
Float - Default:
280.0F - Minimum:
168.0F - Maximum:
448.0F
- Type:
- Config Key:
-
TEXT_SHADOW- Config Key:
text-shadow - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
BOLD_DIRECTIONS- Show the cardinal directions in BOLD.
- Config Key:
bold-directions - Values
- Type:
Boolean - Default:
false
- Type:
-
BACKGROUND- Config Key:
background - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
BORDER- Config Key:
border - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
BORDER_THICKNESS- Config Key:
border-thickness - Values
- Type:
Float - Default:
0.5F - Minimum:
0.5F - Maximum:
3.0F
- Type:
- Config Key:
-
SHOW_MARKER- Config Key:
show-marker - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
SHOW_MARKER_VALUE- Config Key:
show-marker-value - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
USE_LEGACY_STYLE- Config Key:
use-legacy-style - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
SHOW_WITH_TAB- Choose whether to show the Direction HUD when TAB is open.
- Config Key:
show-with-tab - Values
- Type:
Boolean - Default:
false
- Type:
-
BACKGROUND_COLOR- Config Key:
background-color - Values
- Type:
String - Default:
#6F000000
- Type:
- Config Key:
-
BORDER_COLOR- Config Key:
border-color - Values
- Type:
String - Default:
#9F000000
- Type:
- Config Key:
-
MARKER_COLOR- Config Key:
marker-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
DIRECTION_COLOR- Config Key:
direction-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key: