Apollo
Developers
Mods
AudioSubtitles

Audio Subtitles

Allows you to customize Minecraft's audio subtitles, if enabled.

Integration

How to toggle the mod

public void toggleAudioSubtitlesExample(Player viewer, boolean value) {
    Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
    apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModAudioSubtitles.ENABLED, value));
}

Available options

  • ENABLED

    • Config Key: enabled
    • Values
      • Type: Boolean
      • Default: false
  • SCALE

    • Config Key: scale
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 0.25F
      • Maximum: 5.0F
  • TEXT_SHADOW

    • Adds a shadow to text
    • Config Key: text-shadow
    • Values
      • Type: Boolean
      • Default: false
  • BACKGROUND

    • Config Key: background
    • Values
      • Type: Boolean
      • Default: true
  • BORDER

    • Config Key: border
    • Values
      • Type: Boolean
      • Default: false
  • BORDER_THICKNESS

    • Config Key: border-thickness
    • Values
      • Type: Float
      • Default: 0.5F
      • Minimum: 0.5F
      • Maximum: 3.0F
  • BORDER_COLOR

    • Config Key: border-color
    • Values
      • Type: String
      • Default: #9F000000
  • BACKGROUND_COLOR

    • Config Key: background-color
    • Values
      • Type: String
      • Default: #CC000000
  • TEXT_COLOR

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