Freelook
When activated, allows you to change your camera perspective without rotating your player.
Integration
How to toggle the mod
public void toggleFreelookExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModFreelook.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
INVERT_PITCH
- Config Key:
invert-pitch
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
INVERT_YAW
- Config Key:
invert-yaw
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
TOGGLE_KEY_FREELOOK
- Quickly pressing and releasing the key will toggle freelook
- Config Key:
toggle-key-freelook
- 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: