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
- Type:
- Config Key:
-
SCALE
- Config Key:
scale
- Values
- Type:
Float
- Default:
1.0F
- Minimum:
0.5F
- Maximum:
1.5F
- Type:
- Config Key:
-
SHOW_IN_HUD_EDITOR
- Config Key:
show-in-hud-editor
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
TITLE_COLOR
- Config Key:
title-color
- Values
- Type:
String
- Default:
#FFFF5555
- Type:
- Config Key:
-
SUBTITLE_COLOR
- Config Key:
subtitle-color
- Values
- Type:
String
- Default:
#FFFFFFFF
- Type:
- Config Key:
-
USE_MINECRAFT_GUISCALE
- Config Key:
use-minecraft-g-u-i-scale
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
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
- Type:
-
SHOW_TITLE
- Show title of height limit display
- Config Key:
show-title
- Values
- Type:
Boolean
- Default:
true
- Type:
-
SHOW_SUBTITLE
- Config Key:
show-subtitle
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key: