Skip to content

Commit

Permalink
Increase default cascade sound distance config option
Browse files Browse the repository at this point in the history
  • Loading branch information
doctor4t committed Sep 24, 2024
1 parent 29b275c commit e33a30b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void onInitializeClient() {

// mangrove birds in mangroves during the day
AMBIENT_CONDITIONS.add(new AmbientCondition(EffectiveAmbienceSounds.ANIMAL_MANGROVE_BIRDS, AmbientCondition.Type.ANIMAL,
(world, pos, player) -> isInOverworld(world, pos) && !isInCave(world, pos) && (world.getBiome(pos).matchesKey(BiomeKeys.MANGROVE_SWAMP)) && !Effective.isNightTime(world)));
(world, pos, player) -> isInOverworld(world, pos) && !isInCave(world, pos) && world.getBiome(pos).matchesKey(BiomeKeys.MANGROVE_SWAMP) && !Effective.isNightTime(world)));

// owls in forests at night
AMBIENT_CONDITIONS.add(new AmbientCondition(EffectiveAmbienceSounds.ANIMAL_OWLS, AmbientCondition.Type.ANIMAL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public class EffectiveConfig extends MidnightConfig {
@Entry(category = audio, min = 0, max = 100, isSlider = true)
public static int cascadeSoundsVolume = 30;
@Entry(category = audio, min = 0, max = 400, isSlider = true)
public static int cascadeSoundDistanceBlocks = 50;
public static int cascadeSoundDistanceBlocks = 100;
@Comment(category = audio, centered = true) public static Comment biomeAmbience;
@Entry(category = audio, min = 0, max = 100, isSlider = true)
public static int windAmbienceVolume = 100;
Expand Down
5 changes: 5 additions & 0 deletions src/client/resources/assets/effective/sounds.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
"effective:ambient/animal_jungle_night"
]
},
"ambient.animal.mangrove_birds": {
"sounds": [
"effective:ambient/animal_mangrove_birds"
]
},
"ambient.animal.owls": {
"sounds": [
"effective:ambient/animal_owls"
Expand Down

0 comments on commit e33a30b

Please sign in to comment.