From 2a8284fe3ba76be65d0555f1e2a8dda0df527178 Mon Sep 17 00:00:00 2001 From: Me <135455255+IcarussOne@users.noreply.github.com> Date: Tue, 6 Aug 2024 05:33:53 -0500 Subject: [PATCH] Update sound pitch --- src/main/java/mod/emt/balkonsexpansion/events/BEEvents.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/mod/emt/balkonsexpansion/events/BEEvents.java b/src/main/java/mod/emt/balkonsexpansion/events/BEEvents.java index 4c63734..15a8b81 100644 --- a/src/main/java/mod/emt/balkonsexpansion/events/BEEvents.java +++ b/src/main/java/mod/emt/balkonsexpansion/events/BEEvents.java @@ -32,9 +32,9 @@ public static void onBlockMelee(LivingAttackEvent event) { Item item = stack.getItem(); MeleeComponent meleeComp = ((IItemWeapon) stack.getItem()).getMeleeComponent(); - // Additional block sound for battleaxes and katanas. + // Additional blocking sound for battleaxes and katanas. if (item instanceof ItemMelee && !(meleeComp instanceof MeleeCompBoomerang) && BEConfig.general_settings.MELEE_BLOCKING_SOUNDS) { - player.getEntityWorld().playSound(null, player.getPosition(), SoundEvents.ENTITY_ZOMBIE_ATTACK_IRON_DOOR, SoundCategory.PLAYERS, 0.6F, 0.8F + player.getEntityWorld().rand.nextFloat() * 0.4F); + player.getEntityWorld().playSound(null, player.getPosition(), SoundEvents.ENTITY_ZOMBIE_ATTACK_IRON_DOOR, SoundCategory.PLAYERS, 0.6F, 3.0F + player.getEntityWorld().rand.nextFloat() * 0.4F); } } }