Horse Stats
Display the stats of the horse you are riding in the horse's inventory.
Integration
How to toggle the mod
public void toggleHorseStatsExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModHorseStats.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
TEXT_COLOR
- Config Key:
text-color
- Values
- Type:
String
- Default:
#FF404040
- Type:
- Config Key:
-
SPEED_COLOR
- Config Key:
speed-color
- Values
- Type:
String
- Default:
#FF2D68CF
- Type:
- Config Key:
-
JUMP_COLOR
- Config Key:
jump-color
- Values
- Type:
String
- Default:
#FF12AF0D
- Type:
- Config Key:
-
HEALTH_COLOR
- Config Key:
health-color
- Values
- Type:
String
- Default:
#FFCF2D2D
- Type:
- Config Key: