From f61a44f3e0ef9c8cd4a356837d4ec28cac0b80d9 Mon Sep 17 00:00:00 2001 From: doctor4t <25477005+doctor4t@users.noreply.github.com> Date: Sun, 3 Apr 2022 17:40:13 +0200 Subject: [PATCH] Make cascade sound more frequent --- .../effective/client/world/WaterfallCloudGenerators.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ladysnake/effective/client/world/WaterfallCloudGenerators.java b/src/main/java/ladysnake/effective/client/world/WaterfallCloudGenerators.java index fe3e7bdd..247628cd 100644 --- a/src/main/java/ladysnake/effective/client/world/WaterfallCloudGenerators.java +++ b/src/main/java/ladysnake/effective/client/world/WaterfallCloudGenerators.java @@ -49,7 +49,7 @@ public static void tick() { BlockPos pos = generators.get(i); if (pos != null) { if (shouldCauseWaterfall(world, pos, world.getFluidState(pos))) { - if (world.random.nextInt(500) == 0) { + if (world.random.nextInt(200) == 0) { world.playSound(pos.getX(), pos.getY(), pos.getZ(), Effective.AMBIENCE_WATERFALL, SoundCategory.AMBIENT, 10f, 1.2f + world.random.nextFloat() / 10f, true); } scheduleParticleTick(pos, 6);