Boss Bar
Allows you to hide, move or customize the Minecraft boss bar.
Integration
How to toggle the mod
public void toggleBossBarExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModBossbar.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:
-
RENDER_BAR
- Config Key:
render-bar
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
RENDER_BOSS_TEXT
- Config Key:
render-boss-text
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
CUSTOM_BOSS_BAR
- Config Key:
custom-boss-bar
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
BAR_COLOR
- Config Key:
bar-color
- Values
- Type:
String
- Default:
#FFF249F2
- Type:
- Config Key:
-
USE_MINECRAFT_GUISCALE
- Config Key:
use-minecraft-g-u-i-scale
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key: