Skip to content

Commit

Permalink
Make cascade sound more frequent
Browse files Browse the repository at this point in the history
  • Loading branch information
doctor4t committed Apr 3, 2022
1 parent 4b4260e commit f61a44f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f61a44f

Please sign in to comment.