Apollo
Developers
Mods
MenuBlur

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
  • BLUR_STRENGTH

    • Config Key: blur-strength
    • Values
      • Type: Integer
      • Default: 4
      • Minimum: 0
      • Maximum: 20
  • BLUR_LUNAR_TOGGLE

    • Config Key: blur-lunar-toggle
    • Values
      • Type: Boolean
      • Default: true
  • BLUR_LUNAR_BACKGROUND

    • Config Key: blur-lunar-background
    • Values
      • Type: String
      • Default: #0
  • BLUR_INVENTORY_TOGGLE

    • Config Key: blur-inventory-toggle
    • Values
      • Type: Boolean
      • Default: true
  • BLUR_INVENTORY_BACKGROUND

    • Config Key: blur-inventory-background
    • Values
      • Type: String
      • Default: #6F000000
  • BLUR_PAUSE_TOGGLE

    • Config Key: blur-pause-toggle
    • Values
      • Type: Boolean
      • Default: true
  • BLUR_PAUSE_BACKGROUND

    • Config Key: blur-pause-background
    • Values
      • Type: String
      • Default: #6F000000