Apollo
Developers
Mods
ColorSaturation

Color Saturation

Integration

How to toggle the mod

public void toggleColorSaturationExample(Player viewer, boolean value) {
    Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
    apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModColorSaturation.ENABLED, value));
}

Available options

  • ENABLED

    • Config Key: enabled
    • Values
      • Type: Boolean
      • Default: false
  • COLOR_SATURATION_HUE

    • Config Key: color-saturation-hue
    • Values
      • Type: Float
      • Default: 0.0F
      • Minimum: 0.0F
      • Maximum: 10.0F
  • COLOR_SATURATION_SATURATION

    • Config Key: color-saturation-saturation
    • Values
      • Type: Float
      • Default: 5.0F
      • Minimum: 0.0F
      • Maximum: 10.0F
  • COLOR_SATURATION_BRIGHTNESS

    • Config Key: color-saturation-brightness
    • Values
      • Type: Float
      • Default: 5.0F
      • Minimum: 0.0F
      • Maximum: 10.0F
  • COLOR_SATURATION_CONTRAST

    • Config Key: color-saturation-contrast
    • Values
      • Type: Float
      • Default: 5.0F
      • Minimum: 0.0F
      • Maximum: 10.0F