Hit Color
Changes the color of the damage indicator.
Integration
How to toggle the mod
public void toggleHitColorExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModHitColor.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
HIT_ARMOR_COLOR
- Config Key:
hit-armor-color
- Values
- Type:
String
- Default:
#66990000
- Type:
- Config Key:
-
SHOULD_COLOR_ARMOR
- Config Key:
should-color-armor
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key: