FOV Changer
Allows you to customize your field of view for different potion or speed states.
Integration
How to toggle the mod
public void toggleFOVChangerExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModFov.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
STATIC_FOV- Determines if your FOV changes as you move.
- Config Key:
static-f-o-v - Values
- Type:
Boolean - Default:
false
- Type:
-
DEFAULT_FOV- Config Key:
default-fov - Values
- Type:
Integer - Default:
70 - Minimum:
30 - Maximum:
110
- Type:
- Config Key:
-
AIMING_MODIFIER- Config Key:
aiming-modifier - Values
- Type:
Float - Default:
1.0F - Minimum:
0.0F - Maximum:
5.0F
- Type:
- Config Key:
-
AIMING_MIN- Config Key:
aiming-min - Values
- Type:
Float - Default:
-10.0F - Minimum:
-200.0F - Maximum:
200.0F
- Type:
- Config Key:
-
AIMING_MAX- Config Key:
aiming-max - Values
- Type:
Float - Default:
10.0F - Minimum:
-200.0F - Maximum:
200.0F
- Type:
- Config Key:
-
SPEED_FOV- Config Key:
speed-f-o-v - Values
- Type:
Integer - Default:
70 - Minimum:
30 - Maximum:
110
- Type:
- Config Key:
-
SPEED_TWO_FOV- Config Key:
speed-two-f-o-v - Values
- Type:
Integer - Default:
70 - Minimum:
30 - Maximum:
110
- Type:
- Config Key:
-
SLOWNESS_FOV- Config Key:
slowness-f-o-v - Values
- Type:
Integer - Default:
70 - Minimum:
30 - Maximum:
110
- Type:
- Config Key:
-
MOVEMENT_MODIFIER- Config Key:
movement-modifier - Values
- Type:
Float - Default:
1.0F - Minimum:
0.0F - Maximum:
5.0F
- Type:
- Config Key:
-
MOVEMENT_MIN- Config Key:
movement-min - Values
- Type:
Float - Default:
-10.0F - Minimum:
-200.0F - Maximum:
200.0F
- Type:
- Config Key:
-
MOVEMENT_MAX- Config Key:
movement-max - Values
- Type:
Float - Default:
10.0F - Minimum:
-200.0F - Maximum:
200.0F
- Type:
- Config Key:
-
SPRINTING_FOV- Config Key:
sprinting-f-o-v - Values
- Type:
Integer - Default:
70 - Minimum:
30 - Maximum:
110
- Type:
- Config Key:
-
SPRINT_MODIFIER- Config Key:
sprint-modifier - Values
- Type:
Float - Default:
1.0F - Minimum:
0.0F - Maximum:
5.0F
- Type:
- Config Key:
-
SPRINT_MIN- Config Key:
sprint-min - Values
- Type:
Float - Default:
-10.0F - Minimum:
-200.0F - Maximum:
200.0F
- Type:
- Config Key:
-
SPRINT_MAX- Config Key:
sprint-max - Values
- Type:
Float - Default:
10.0F - Minimum:
-200.0F - Maximum:
200.0F
- Type:
- Config Key:
-
FLYING_FOV- Config Key:
flying-fov - Values
- Type:
Integer - Default:
70 - Minimum:
30 - Maximum:
110
- Type:
- Config Key:
-
FLYING_MODIFIER- Config Key:
flying-modifier - Values
- Type:
Float - Default:
1.0F - Minimum:
0.0F - Maximum:
5.0F
- Type:
- Config Key:
-
FLYING_MIN- Config Key:
flying-min - Values
- Type:
Float - Default:
-10.0F - Minimum:
-200.0F - Maximum:
200.0F
- Type:
- Config Key:
-
FLYING_MAX- Config Key:
flying-max - Values
- Type:
Float - Default:
10.0F - Minimum:
-200.0F - Maximum:
200.0F
- Type:
- Config Key: