From 95d5042095e0e13b0e82e31ef179cdd352e19773 Mon Sep 17 00:00:00 2001 From: Izuna <1zuna@ccbluex.net> Date: Tue, 14 Jan 2025 10:00:44 +0100 Subject: [PATCH] refactor(Speed): remove IntaveTimer14 speed mode (#5316) It may have come from @Volcan4436 and has been requested to be removed. He said it would be okay as long as credit was given, but I'd rather remove the mode altogether as it's probably already outdated. --- .../features/module/modules/movement/Speed.kt | 2 -- .../speedmodes/intave/IntaveTimer14.kt | 34 ------------------- 2 files changed, 36 deletions(-) delete mode 100644 src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/speedmodes/intave/IntaveTimer14.kt diff --git a/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/Speed.kt b/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/Speed.kt index 4ad546d3f64..710a24e4854 100644 --- a/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/Speed.kt +++ b/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/Speed.kt @@ -16,7 +16,6 @@ import net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.aac. import net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.hypixel.HypixelHop import net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.hypixel.HypixelLowHop import net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.intave.IntaveHop14 -import net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.intave.IntaveTimer14 import net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.matrix.MatrixHop import net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.matrix.MatrixSlowHop import net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.matrix.OldMatrixHop @@ -80,7 +79,6 @@ object Speed : Module("Speed", Category.MOVEMENT, hideModule = false) { // Intave IntaveHop14, - IntaveTimer14, // Server specific TeleportCubeCraft, diff --git a/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/speedmodes/intave/IntaveTimer14.kt b/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/speedmodes/intave/IntaveTimer14.kt deleted file mode 100644 index 3602ccd3c96..00000000000 --- a/src/main/java/net/ccbluex/liquidbounce/features/module/modules/movement/speedmodes/intave/IntaveTimer14.kt +++ /dev/null @@ -1,34 +0,0 @@ -/* - * LiquidBounce Hacked Client - * A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge. - * https://github.com/CCBlueX/LiquidBounce/ - */ -package net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.intave - -import net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.SpeedMode -import net.ccbluex.liquidbounce.utils.extensions.isInLiquid -import net.ccbluex.liquidbounce.utils.extensions.isMoving -import net.ccbluex.liquidbounce.utils.extensions.tryJump - -object IntaveTimer14 : SpeedMode("IntaveTimer14") { - override fun onUpdate() { - val thePlayer = mc.thePlayer ?: return - - mc.timer.timerSpeed = 1f - - if (!thePlayer.isMoving || thePlayer.isInLiquid || thePlayer.isOnLadder || thePlayer.isRiding) - return - - if (thePlayer.onGround) - thePlayer.tryJump() - else { - if (thePlayer.fallDistance <= 0.1) - mc.timer.timerSpeed = 1.7f - else if (thePlayer.fallDistance < 1.3) - mc.timer.timerSpeed = 0.8f - else - mc.timer.timerSpeed = 1f - } - } - -}