Apollo
Developers
Mods
Titles

Titles

Adjust the minecraft title and subtitle scale and location.

Integration

How to toggle the mod

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

Available options

  • ENABLED

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

    • Config Key: scale
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 0.5F
      • Maximum: 1.5F
  • SHOW_IN_HUD_EDITOR

    • Config Key: show-in-hud-editor
    • Values
      • Type: Boolean
      • Default: false
  • TITLE_COLOR

    • Config Key: title-color
    • Values
      • Type: String
      • Default: #FFFF5555
  • SUBTITLE_COLOR

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

    • Config Key: use-minecraft-g-u-i-scale
    • Values
      • Type: Boolean
      • Default: true
  • KEEP_TITLE_CENTERED

    • Keep the title centered around the center of the mod on-screen
    • Config Key: keep-title-centered
    • Values
      • Type: Boolean
      • Default: true
  • SHOW_TITLE

    • Show title of height limit display
    • Config Key: show-title
    • Values
      • Type: Boolean
      • Default: true
  • SHOW_SUBTITLE

    • Config Key: show-subtitle
    • Values
      • Type: Boolean
      • Default: true