Menu Blur
Blurs the background behind menus.
Integration
How to toggle the mod
public void toggleMenuBlurExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModMenuBlur.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
BLUR_STRENGTH
- Config Key:
blur-strength
- Values
- Type:
Integer
- Default:
4
- Minimum:
0
- Maximum:
20
- Type:
- Config Key:
-
BLUR_LUNAR_TOGGLE
- Config Key:
blur-lunar-toggle
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
BLUR_LUNAR_BACKGROUND
- Config Key:
blur-lunar-background
- Values
- Type:
String
- Default:
#0
- Type:
- Config Key:
-
BLUR_INVENTORY_TOGGLE
- Config Key:
blur-inventory-toggle
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
BLUR_INVENTORY_BACKGROUND
- Config Key:
blur-inventory-background
- Values
- Type:
String
- Default:
#6F000000
- Type:
- Config Key:
-
BLUR_PAUSE_TOGGLE
- Config Key:
blur-pause-toggle
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
BLUR_PAUSE_BACKGROUND
- Config Key:
blur-pause-background
- Values
- Type:
String
- Default:
#6F000000
- Type:
- Config Key: