package com.vinlanx.explosionoverhaul.client; import net.minecraft.client.Minecraft; public class DeafnessConcussionEffect { public static boolean debugShowChat = false; public static volatile boolean enabled = true; public static boolean start(float intensity, double silentSeconds, double effectivePercent, String visibility, int intensityPercent) { return false; } public static void stop() { } public static boolean isActive() { return false; } public static void resetVolume() { } public static void applyMasterVolume(Minecraft mc, double volume) { } public static double lerp(double a, double b, double t) { return a + (b - a) * t; } public static double easeOutQuad(double t) { return 1.0 - (1.0 - t) * (1.0 - t); } public static double easeInOutQuad(double t) { return t < 0.5 ? 2.0 * t * t : 1.0 - Math.pow(-2.0 * t + 2.0, 2.0) / 2.0; } }