This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a855e4
commit ae37c6b
Showing
8 changed files
with
67 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...java/net/ccbluex/liquidbounce/features/module/modules/movement/speedmodes/ncp/UNCPHop2.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* 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.ncp | ||
|
||
import net.ccbluex.liquidbounce.event.MotionEvent | ||
import net.ccbluex.liquidbounce.features.module.modules.movement.speedmodes.SpeedMode | ||
import net.ccbluex.liquidbounce.utils.MovementUtils.strafe | ||
import net.ccbluex.liquidbounce.utils.MovementUtils.isMoving | ||
import net.ccbluex.liquidbounce.utils.extensions.jump | ||
import net.ccbluex.liquidbounce.utils.extensions.stopXZ | ||
|
||
object UNCPHop2 : SpeedMode("UNCPHop2") { | ||
override fun onMotion(event: MotionEvent) { | ||
if (!isMoving) { | ||
mc.timer.timerSpeed = 1f | ||
mc.thePlayer.stopXZ() | ||
return | ||
} | ||
|
||
mc.timer.timerSpeed = 1.08f | ||
strafe() | ||
mc.thePlayer.jumpMovementFactor = 0.024f | ||
mc.thePlayer.jump(0.39935305) | ||
} | ||
|
||
override fun onDisable() { | ||
mc.thePlayer.jumpMovementFactor = 0.02f | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/main/java/net/ccbluex/liquidbounce/utils/extensions/TimerExtension.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* 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.utils.extensions | ||
|
||
import net.minecraft.util.Timer | ||
|
||
fun Timer.resetSpeed() { | ||
this.timerSpeed = 1f | ||
} |