Pack Display
Shows the currently active Resource Pack on the HUD.
Integration
How to toggle the mod
public void togglePackDisplayExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModPackDisplay.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
SCALE- Config Key:
scale - Values
- Type:
Float - Default:
1.0F - Minimum:
0.5F - Maximum:
1.5F
- Type:
- Config Key:
-
PACK_ICON- Config Key:
pack-icon - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
PACK_DESCRIPTION- Config Key:
pack-description - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
PACK_EXTENSION- Config Key:
pack-extension - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
MOVE_TITLE_DOWN- Config Key:
move-title-down - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
TEXT_SHADOW- Config Key:
text-shadow - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
BRACKETS- Config Key:
brackets - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
BRACKET_COLOR- Config Key:
bracket-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
BACKGROUND- Config Key:
background - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
BACKGROUND_HEIGHT- Config Key:
background-height - Values
- Type:
Integer - Default:
24 - Minimum:
12 - Maximum:
64
- Type:
- Config Key:
-
BORDER- Config Key:
border - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
BORDER_THICKNESS- Config Key:
border-thickness - Values
- Type:
Float - Default:
0.5F - Minimum:
0.5F - Maximum:
3.0F
- Type:
- Config Key:
-
BORDER_COLOR- Config Key:
border-color - Values
- Type:
String - Default:
#9F000000
- Type:
- Config Key:
-
BACKGROUND_COLOR- Config Key:
background-color - Values
- Type:
String - Default:
#6F000000
- Type:
- Config Key:
-
TEXT_COLOR- Config Key:
text-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
DESCRIPTION_REPLACEMENT_COLOR- Config Key:
description-replacement-color - Values
- Type:
String - Default:
#FFFFFFFF
- Type:
- Config Key:
-
KEEP_BOLD- Config Key:
keep-bold - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
KEEP_ITALIC- Config Key:
keep-italic - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
KEEP_UNDERLINE- Config Key:
keep-underline - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
KEEP_STRIKETHROUGH- Config Key:
keep-strikethrough - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key:
-
KEEP_OBFUSCATED- Config Key:
keep-obfuscated - Values
- Type:
Boolean - Default:
true
- Type:
- Config Key: