Apollo
Developers
Mods
SoundChanger

Better Sounds

Modify the volume of any sound in the game

Integration

How to toggle the mod

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

Available options

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