Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Move some modules to Client catogory
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInMyVan committed Dec 1, 2023
1 parent 8932c55 commit 6f0dd65
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import net.minecraft.network.play.server.S2EPacketCloseWindow
import org.lwjgl.input.Keyboard
import java.awt.Color

object ClickGUI : Module("ClickGUI", ModuleCategory.RENDER, Keyboard.KEY_RSHIFT, canBeEnabled = false) {
object ClickGUI : Module("ClickGUI", ModuleCategory.CLIENT, Keyboard.KEY_RSHIFT, canBeEnabled = false) {
private val style by
object : ListValue("Style", arrayOf("LiquidBounce", "Null", "Slowly", "Black"), "LiquidBounce") {
override fun onChanged(oldValue: String, newValue: String) = updateStyle()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import net.ccbluex.liquidbounce.utils.RotationUtils.currentRotation
import net.ccbluex.liquidbounce.utils.RotationUtils.serverRotation
import net.ccbluex.liquidbounce.value.BoolValue

object Rotations : Module("Rotations", ModuleCategory.RENDER, gameDetecting = false) {
object Rotations : Module("Rotations", ModuleCategory.CLIENT, gameDetecting = false) {

private val realistic by BoolValue("Realistic", true)
private val body by BoolValue("Body", true) { !realistic }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ object Aimbot : Module("Aimbot", ModuleCategory.COMBAT) {

private val clickTimer = MSTimer()

@EventTarget
fun onMotion(event: MotionEvent) {
if (event.eventState != EventState.POST)
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import net.minecraft.network.play.client.C07PacketPlayerDigging.Action.RELEASE_U
import net.minecraft.util.BlockPos
import net.minecraft.util.EnumFacing

object AutoBow : Module("AutoBow", ModuleCategory.COMBAT, subjective = true) {
object AutoBow : Module("AutoBow", ModuleCategory.COMBAT, subjective = true, spacedName = "Auto Bow") {

private val waitForBowAimbot by BoolValue("WaitForBowAimbot", true)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import net.minecraft.item.EnumAction
import net.minecraft.util.MovingObjectPosition
import kotlin.random.Random.Default.nextBoolean

object AutoClicker : Module("AutoClicker", ModuleCategory.COMBAT) {
object AutoClicker : Module("AutoClicker", ModuleCategory.COMBAT, spacedName = "Auto Clicker") {
private val maxCPSValue: IntegerValue = object : IntegerValue("MaxCPS", 8, 1..20) {
override fun onChange(oldValue: Int, newValue: Int) = newValue.coerceAtLeast(minCPS)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import net.ccbluex.liquidbounce.value.BoolValue
import net.ccbluex.liquidbounce.value.IntegerValue
import net.minecraft.init.Items

object AutoRod : Module("AutoRod", ModuleCategory.COMBAT) {
object AutoRod : Module("AutoRod", ModuleCategory.COMBAT, spacedName = "Auto Rod") {

private val facingEnemy by BoolValue("FacingEnemy", true)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import net.minecraft.network.play.client.C09PacketHeldItemChange
import net.minecraft.util.BlockPos
import net.minecraft.util.EnumFacing

object AutoSoup : Module("AutoSoup", ModuleCategory.COMBAT) {
object AutoSoup : Module("AutoSoup", ModuleCategory.COMBAT, spacedName = "Auto Soup") {

private val health by FloatValue("Health", 15f, 0f..20f)
private val delay by IntegerValue("Delay", 150, 0..500)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import net.minecraft.item.ItemTool
import net.minecraft.network.play.client.C02PacketUseEntity
import net.minecraft.network.play.client.C02PacketUseEntity.Action.ATTACK

object AutoWeapon : Module("AutoWeapon", ModuleCategory.COMBAT, subjective = true) {
object AutoWeapon : Module("AutoWeapon", ModuleCategory.COMBAT, subjective = true, spacedName = "Auto Weapon") {

private val spoof by BoolValue("SpoofItem", false)
private val spoofTicks by IntegerValue("SpoofTicks", 10, 1..20) { spoof }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import net.minecraft.item.ItemEnderPearl
import net.minecraft.item.ItemSnowball
import java.awt.Color

object BowAimbot : Module("BowAimbot", ModuleCategory.COMBAT) {
object BowAimbot : Module("BowAimbot", ModuleCategory.COMBAT, spacedName = "Bow Aimbot") {

private val bow by BoolValue("Bow", true, subjective = true)
private val egg by BoolValue("Egg", true, subjective = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import net.minecraft.network.play.client.C08PacketPlayerBlockPlacement
import net.minecraft.util.BlockPos
import net.minecraft.util.EnumFacing

object FastBow : Module("FastBow", ModuleCategory.COMBAT) {
object FastBow : Module("FastBow", ModuleCategory.COMBAT, spacedName = "Fast Bow") {

private val packets by IntegerValue("Packets", 20, 3..20)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import net.minecraft.network.play.client.C03PacketPlayer
import net.minecraft.network.play.client.C0BPacketEntityAction
import net.minecraft.network.play.client.C0BPacketEntityAction.Action.*

object SuperKnockback : Module("SuperKnockback", ModuleCategory.COMBAT) {
object SuperKnockback : Module("SuperKnockback", ModuleCategory.COMBAT, spacedName = "Super Knockback") {

private val delay by IntegerValue("Delay", 0, 0, 500)
private val hurtTime by IntegerValue("HurtTime", 10, 0, 10)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import net.ccbluex.liquidbounce.utils.timing.TimeUtils.randomClickDelay
import net.ccbluex.liquidbounce.value.IntegerValue
import net.minecraft.client.settings.KeyBinding

object Trigger : Module("Trigger", ModuleCategory.COMBAT) {
object Trigger : Module("TriggerBot", ModuleCategory.COMBAT, spacedName = "Trigger Bot") {

private val maxCPSValue: IntegerValue = object : IntegerValue("MaxCPS", 8, 1..20) {
override fun onChange(oldValue: Int, newValue: Int) = newValue.coerceAtLeast(minCPS)
Expand Down

0 comments on commit 6f0dd65

Please sign in to comment.