Apollo
Developers
Mods
HorseStats

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
  • TEXT_COLOR

    • Config Key: text-color
    • Values
      • Type: String
      • Default: #FF404040
  • SPEED_COLOR

    • Config Key: speed-color
    • Values
      • Type: String
      • Default: #FF2D68CF
  • JUMP_COLOR

    • Config Key: jump-color
    • Values
      • Type: String
      • Default: #FF12AF0D
  • HEALTH_COLOR

    • Config Key: health-color
    • Values
      • Type: String
      • Default: #FFCF2D2D