Damage Tint
Adds a tint to the screen when you are low on health.
Integration
How to toggle the mod
public void toggleDamageTintExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModDamageTint.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
VIGNETTE_COLOR- Config Key:
vignette-color - Values
- Type:
String - Default:
#FFFF0000
- Type:
- Config Key:
-
VIGNETTE_INTENSITY- Intensity of the tint.
- Config Key:
vignette-intensity - Values
- Type:
Float - Default:
1.0F - Minimum:
0.0F - Maximum:
1.0F
- Type:
-
SHOW_VIGNETTE_BELOW- Show the tint when you have less than this amount of health as a percentage.
- Config Key:
show-vignette-below - Values
- Type:
Integer - Default:
100 - Minimum:
0 - Maximum:
100
- Type:
-
HEARTBEAT_AUDIO- Plays a heartbeat, becoming faster the lower your health.
- Config Key:
heartbeat-audio - Values
- Type:
Boolean - Default:
false
- Type: