Zoom
Allows you to smoothly zoom in and out.
Integration
How to toggle the mod
public void toggleZoomExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModZoom.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
TOGGLE_KEY_ZOOM- Quickly pressing and releasing the key will toggle zoom
- Config Key:
toggle-key-zoom - Values
- Type:
Boolean - Default:
false
- Type:
-
SMOOTH_CAMERA- When zoomed in the camera movement will move smoothly (cinematic camera)
- Config Key:
smooth-camera - Values
- Type:
Boolean - Default:
true
- Type:
-
SMOOTH_ZOOM- Add a transition when zooming in and out.
- Config Key:
smooth-zoom - Values
- Type:
Boolean - Default:
true
- Type:
-
VARIABLE_ZOOM- Adjust the zoom depth using Mouse Scroll Wheel
- Config Key:
variable-zoom - Values
- Type:
Boolean - Default:
false
- Type:
-
ZOOM_DIVISOR- Change the initial zoom depth.
- Config Key:
zoom-divisor - Values
- Type:
Integer - Default:
4 - Minimum:
2 - Maximum:
10
- Type:
-
CAMERA_SENSITIVITY- Change the camera sensitivity when zoomed in.
- Config Key:
camera-sensitivity - Values
- Type:
Float - Default:
1.0F - Minimum:
0.1F - Maximum:
2.0F
- Type: