Lighting
Allows you to configure or disable lighting effects, which can increase FPS.
Integration
How to toggle the mod
public void toggleLightingExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModLighting.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
FULL_BRIGHT- Config Key:
full-bright - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
BRIGHTNESS_BOOST- Config Key:
brightness-boost - Values
- Type:
Float - Default:
1.0F - Minimum:
1.0F - Maximum:
10.0F
- Type:
- Config Key: