From 9fd6ec2d16375d8772a91f919cd72fc45d251dbc Mon Sep 17 00:00:00 2001 From: malte0811 Date: Sun, 18 Nov 2018 17:44:23 +0100 Subject: [PATCH] Adjusted a few values for the Mech MB sounds --- .../java/malte0811/industrialwires/mech_mb/MechEnergy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/malte0811/industrialwires/mech_mb/MechEnergy.java b/src/main/java/malte0811/industrialwires/mech_mb/MechEnergy.java index 63668d8..bdec8e5 100644 --- a/src/main/java/malte0811/industrialwires/mech_mb/MechEnergy.java +++ b/src/main/java/malte0811/industrialwires/mech_mb/MechEnergy.java @@ -94,14 +94,14 @@ public final class MechEnergy { } public float getPitch() { - return (float) Math.min(.3*Math.sqrt(getSpeedForSound()), 2); + return (float) Math.min(.3 * Math.sqrt(getSpeedForSound()), 1.25); } private float getTotalVolume() { if (invalid) return 0; float ret = (float) (weight / 20e3 * Math.tanh(getSpeedForSound()/30)); - ret = Math.min(ret, 1.5F); + ret = Math.min(ret, 1F); return ret; }