Snaplook
When activated, allows you to change your camera perspective while a button is pressed.
Integration
How to toggle the mod
public void toggleSnaplookExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModSnaplook.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
SMOOTH_CAMERA- When zoomed in the camera movement will move smoothly (cinematic camera)
- Config Key:
smooth-camera - Values
- Type:
Boolean - Default:
true
- Type:
-
SNAPLOOK_TOGGLE_MODE- This feature uses press and hold by default. Useful if you want to bypass a certain camera orientation.
- Config Key:
snaplook-toggle-mode - Values
- Type:
Boolean - Default:
false
- Type: