Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Kotlin/Java
  3. AAC4 Noslow Bypass

AAC4 Noslow Bypass

Scheduled Pinned Locked Moved Kotlin/Java
5 Posts 3 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    XYZ12S
    wrote on last edited by
    #1

    /*

    • 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

    import net.ccbluex.liquidbounce.LiquidBounce
    import net.ccbluex.liquidbounce.api.enums.EnumFacingType
    import net.ccbluex.liquidbounce.api.enums.WEnumHand
    import net.ccbluex.liquidbounce.api.minecraft.item.IItem
    import net.ccbluex.liquidbounce.api.minecraft.network.play.client.ICPacketPlayerDigging
    import net.ccbluex.liquidbounce.api.minecraft.util.WBlockPos
    import net.ccbluex.liquidbounce.event.*
    import net.ccbluex.liquidbounce.features.module.Module
    import net.ccbluex.liquidbounce.features.module.ModuleCategory
    import net.ccbluex.liquidbounce.features.module.ModuleInfo
    import net.ccbluex.liquidbounce.features.module.modules.combat.KillAura
    import net.ccbluex.liquidbounce.injection.backend.Backend
    import net.ccbluex.liquidbounce.injection.backend.WrapperImpl
    import net.ccbluex.liquidbounce.injection.backend.unwrap
    import net.ccbluex.liquidbounce.utils.MovementUtils
    import net.ccbluex.liquidbounce.utils.createUseItemPacket
    import net.ccbluex.liquidbounce.utils.render.RenderUtils
    import net.ccbluex.liquidbounce.value.BoolValue
    import net.ccbluex.liquidbounce.value.FloatValue
    import net.ccbluex.liquidbounce.value.ListValue
    import java.awt.Color

    @ModuleInfo(name = "NoSlow", description = "Cancels slowness effects caused by soulsand and using items.",
    category = ModuleCategory.MOVEMENT)
    class NoSlow : Module() {

    // Highly customizable values
    
    private val blockForwardMultiplier = FloatValue("BlockForwardMultiplier", 1.0F, 0.2F, 1.0F)
    private val blockStrafeMultiplier = FloatValue("BlockStrafeMultiplier", 1.0F, 0.2F, 1.0F)
    
    private val consumeForwardMultiplier = FloatValue("ConsumeForwardMultiplier", 1.0F, 0.2F, 1.0F)
    private val consumeStrafeMultiplier = FloatValue("ConsumeStrafeMultiplier", 1.0F, 0.2F, 1.0F)
    
    private val bowForwardMultiplier = FloatValue("BowForwardMultiplier", 1.0F, 0.2F, 1.0F)
    private val bowStrafeMultiplier = FloatValue("BowStrafeMultiplier", 1.0F, 0.2F, 1.0F)
    
    // NCP mode
    private val packetValue = ListValue("TargetMode", arrayOf("AAC", "Hypixel"), "AAC")
    private val packet = BoolValue("Packet", true)
    
    // Blocks
    val soulsandValue = BoolValue("Soulsand", true)
    val liquidPushValue = BoolValue("LiquidPush", true)
    
    @EventTarget
    fun onMotion(event: MotionEvent) {
        val thePlayer = mc.thePlayer ?: return
        val heldItem = thePlayer.heldItem ?: return
    
        if (!classProvider.isItemSword(heldItem.item) || !MovementUtils.isMoving)
            return
    
        val aura = LiquidBounce.moduleManager[KillAura::class.java] as KillAura
        if (!thePlayer.isBlocking && !aura.blockingStatus)
            return
    
    
        if (Backend.MINECRAFT_VERSION_MINOR == 8 && !packetValue.get().equals("Hypixel", ignoreCase = true))
            when (event.eventState) {
                EventState.PRE -> {
                    val digging = classProvider.createCPacketPlayerDigging(ICPacketPlayerDigging.WAction.RELEASE_USE_ITEM, WBlockPos(0, 0, 0), classProvider.getEnumFacing(EnumFacingType.DOWN))
                    mc.netHandler.addToSendQueue(digging)
                }
            }
    
        if (Backend.MINECRAFT_VERSION_MINOR == 8 && !packetValue.get().equals("AAC", ignoreCase = true))
            when (event.eventState) {
                EventState.POST -> {
                    val blockPlace = classProvider.createCPacketPlayerBlockPlacement(WBlockPos(-1, -1, -1), 255, mc.thePlayer!!.inventory.getCurrentItemInHand(), 0.0F, 0.0F, 0.0F)
                    mc.netHandler.addToSendQueue(blockPlace)
    
                }
            }
        }
    
    @EventTarget
    fun onSlowDown(event: SlowDownEvent) {
        val heldItem = mc.thePlayer!!.heldItem?.item
    
        event.forward = getMultiplier(heldItem, true)
        event.strafe = getMultiplier(heldItem, false)
    }
    
    private fun getMultiplier(item: IItem?, isForward: Boolean): Float {
        return when {
            classProvider.isItemFood(item) || classProvider.isItemPotion(item) || classProvider.isItemBucketMilk(item) -> {
                if (isForward) this.consumeForwardMultiplier.get() else this.consumeStrafeMultiplier.get()
            }
            classProvider.isItemSword(item) -> {
                if (isForward) this.blockForwardMultiplier.get() else this.blockStrafeMultiplier.get()
            }
            classProvider.isItemBow(item) -> {
                if (isForward) this.bowForwardMultiplier.get() else this.bowStrafeMultiplier.get()
            }
            else -> 0.2F
        }
    }
    override val tag: String?
        get() = packetValue.get()
    

    }

    1 Reply Last reply
    0
    • yorik100Y Offline
      yorik100Y Offline
      yorik100
      wrote on last edited by
      #2

      ?????????????????????????????????????????????????????????????????? AAC mode is only making you block server sided?????????

      1 Reply Last reply
      0
      • X Offline
        X Offline
        XYZ12S
        wrote on last edited by
        #3

        I test it on mc.loyisa.cn, and it successfully bypass

        yorik100Y 1 Reply Last reply
        0
        • X XYZ12S

          I test it on mc.loyisa.cn, and it successfully bypass

          yorik100Y Offline
          yorik100Y Offline
          yorik100
          wrote on last edited by
          #4

          @XYZ12S This is comedy, you don't even know how funny that sounds when you know that the AAC "NoSlow" unblocks server sided

          1 Reply Last reply
          0
          • Foreheadchan_F Offline
            Foreheadchan_F Offline
            Foreheadchan_
            wrote on last edited by
            #5

            using kotlin wtf

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            About
            • Terms of Service
            • Privacy Policy
            • Status
            • Contact Us
            Downloads
            • Releases
            • Source code
            • License
            Docs
            • Tutorials
            • CustomHUD
            • AutoSettings
            • ScriptAPI
            Community
            • Forum
            • Guilded
            • YouTube
            • Twitter
            • D.Tube
            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups