View Angles
Display your yaw and pitch, with optional flight targets, speed, and altitude.
Integration
How to toggle the mod
public void toggleViewAnglesExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModViewAngles.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
SCALE- Config Key:
scale - Values
- Type:
Float - Default:
1.0F - Minimum:
0.25F - Maximum:
5.0F
- Type:
- Config Key:
-
DECIMAL_PLACES- Config Key:
decimal-places - Values
- Type:
Integer - Default:
2 - Minimum:
0 - Maximum:
10
- Type:
- Config Key:
-
SHOW_YAW- Shows your left and right rotation.
- Config Key:
show-yaw - Values
- Type:
Boolean - Default:
true
- Type:
-
SHOW_PITCH- Shows how far you look up or down.
- Config Key:
show-pitch - Values
- Type:
Boolean - Default:
true
- Type:
-
OPTIMAL_PITCH_INDICATOR- Config Key:
optimal-pitch-indicator - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
ASCEND_TARGET- Config Key:
ascend-target - Values
- Type:
Float - Default:
-40.0F - Minimum:
-90.0F - Maximum:
0.0F
- Type:
- Config Key:
-
DESCEND_TARGET- Config Key:
descend-target - Values
- Type:
Float - Default:
40.0F - Minimum:
0.0F - Maximum:
90.0F
- Type:
- Config Key:
-
SHOW_SPEED- Config Key:
show-speed - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
SHOW_ALTITUDE- Config Key:
show-altitude - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
SHOW_IN_FIRST_PERSON- Config Key:
show-in-first-person - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
SHOW_IN_THIRD_PERSON- Config Key:
show-in-third-person - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
SHOW_WHILE_ELYTRA_FLYING_ONLY- Config Key:
show-while-elytra-flying-only - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
REVERSE_ORDER- Config Key:
reverse-order - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
TEXT_SHADOW- Adds a shadow to text
- Config Key:
text-shadow - Values
- Type:
Boolean - Default:
true
- Type:
-
BRACKETS- Config Key:
brackets - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
BRACKET_COLOR- Config Key:
bracket-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
BACKGROUND- Config Key:
background - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
STATIC_BACKGROUND_WIDTH- If this is disabled the background will change size with the text.
- Config Key:
static-background-width - Values
- Type:
Boolean - Default:
false
- Type:
-
STATIC_BACKGROUND_HEIGHT- If this is disabled the background will change size with the text.
- Config Key:
static-background-height - Values
- Type:
Boolean - Default:
false
- Type:
-
BACKGROUND_WIDTH- Config Key:
background-width - Values
- Type:
Integer - Default:
80 - Minimum:
20 - Maximum:
200
- Type:
- Config Key:
-
BACKGROUND_HEIGHT- Config Key:
background-height - Values
- Type:
Integer - Default:
30 - Minimum:
20 - Maximum:
60
- 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:
-
BORDER_COLOR- Config Key:
border-color - Values
- Type:
String - Default:
#9F000000
- Type:
- Config Key:
-
BACKGROUND_COLOR- Config Key:
background-color - Values
- Type:
String - Default:
#6F000000
- Type:
- Config Key:
-
LABEL_COLOR- Config Key:
label-color - Values
- Type:
String - Default:
#FFFFAA00
- Type:
- Config Key:
-
VALUE_COLOR- Config Key:
value-color - Values
- Type:
String - Default:
#FFAAAAAA
- Type:
- Config Key:
-
TEXT_COLOR- Config Key:
text-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key: